1
0
mirror of https://github.com/danog/parallel.git synced 2024-12-13 09:37:26 +01:00
parallel/test/Worker/WorkerProcessTest.php
2019-02-20 17:39:39 -06:00

15 lines
380 B
PHP

<?php
namespace Amp\Parallel\Test\Worker;
use Amp\Parallel\Worker\BasicEnvironment;
use Amp\Parallel\Worker\WorkerProcess;
class WorkerProcessTest extends AbstractWorkerTest
{
protected function createWorker(string $envClassName = BasicEnvironment::class, string $autoloadPath = null)
{
return new WorkerProcess($envClassName, [], null, $autoloadPath);
}
}