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

18 lines
413 B
PHP
Raw Permalink Normal View History

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