mirror of
https://github.com/danog/parallel.git
synced 2024-12-04 10:38:30 +01:00
f2e5224856
Allows scripts to be written for either context.
15 lines
265 B
PHP
15 lines
265 B
PHP
<?php
|
|
|
|
namespace Amp\Parallel\Test\Context;
|
|
|
|
use Amp\Parallel\Context\Context;
|
|
use Amp\Parallel\Context\Process;
|
|
|
|
class ProcessTest extends AbstractContextTest
|
|
{
|
|
public function createContext($script): Context
|
|
{
|
|
return new Process($script);
|
|
}
|
|
}
|