1 | <?php |
||
23 | final class ProcessHelper implements ProcessHelperInterface |
||
24 | { |
||
25 | /** |
||
26 | * @var string |
||
27 | */ |
||
28 | protected $phpBinaryPath; |
||
29 | |||
30 | /** |
||
31 | * @var string |
||
32 | */ |
||
33 | protected $cwd; |
||
34 | |||
35 | public function __construct(string $phpBinaryPath, string $cwd) |
||
40 | |||
41 | public function createProcess(array $arguments, int $timeout = 720): Process |
||
49 | |||
50 | public function createProcessBuilder(array $arguments, $timeout = 720): ProcessBuilder |
||
61 | } |
||
62 | |||
63 |