mirror of
https://github.com/danog/parallel.git
synced 2024-12-02 17:52:14 +01:00
7c8756c3a5
Fixes #55 and #71.
15 lines
380 B
PHP
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);
|
|
}
|
|
}
|