1
0
mirror of https://github.com/danog/parallel.git synced 2024-12-02 17:52:14 +01:00
parallel/test/Context/ParallelTest.php

18 lines
308 B
PHP
Raw Normal View History

2019-02-13 21:19:01 +01:00
<?php
namespace Amp\Parallel\Test\Context;
use Amp\Parallel\Context\Context;
2019-02-13 21:19:01 +01:00
use Amp\Parallel\Context\Parallel;
/**
* @requires extension parallel
*/
class ParallelTest extends AbstractContextTest
2019-02-13 21:19:01 +01:00
{
public function createContext($script): Context
2019-02-13 21:19:01 +01:00
{
return new Parallel($script);
2019-02-13 21:19:01 +01:00
}
}