1
0
mirror of https://github.com/danog/parallel.git synced 2024-12-02 09:37:57 +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);
}
}