mirror of
https://github.com/danog/parallel.git
synced 2024-11-26 20:34:40 +01:00
7c8756c3a5
Fixes #55 and #71.
18 lines
413 B
PHP
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);
|
|
}
|
|
}
|