mirror of
https://github.com/amphp/parallel.git
synced 2025-07-18 12:01:24 +02:00
15 lines
349 B
PHP
15 lines
349 B
PHP
<?php declare(strict_types=1);
|
|
|
|
namespace Amp\Parallel\Test\Context;
|
|
|
|
use Amp\Parallel\Context\Context;
|
|
use Amp\Parallel\Context\ProcessContextFactory;
|
|
|
|
class ProcessContextTest extends AbstractContextTest
|
|
{
|
|
public function createContext(string|array $script): Context
|
|
{
|
|
return (new ProcessContextFactory())->start($script);
|
|
}
|
|
}
|