1
0
mirror of https://github.com/danog/parallel.git synced 2024-12-04 10:38:30 +01:00
parallel/test/Context/ProcessTest.php
Aaron Piotrowski f2e5224856
Unite Process and Parallel context interfaces
Allows scripts to be written for either context.
2019-02-17 23:50:41 -06:00

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);
}
}