1
0
mirror of https://github.com/danog/parallel.git synced 2024-11-26 20:34:40 +01:00
parallel/test/Worker/WorkerParallelTest.php
2019-02-20 17:39:39 -06:00

18 lines
413 B
PHP

<?php
namespace Amp\Parallel\Test\Worker;
use Amp\Parallel\Worker\BasicEnvironment;
use Amp\Parallel\Worker\WorkerParallel;
/**
* @requires extension parallel
*/
class WorkerParallelTest extends AbstractWorkerTest
{
protected function createWorker(string $envClassName = BasicEnvironment::class, string $autoloadPath = null)
{
return new WorkerParallel($envClassName, $autoloadPath);
}
}