Total Complexity | 3 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | final class ProcessFactory |
||
17 | { |
||
18 | /** @var array */ |
||
19 | private $command; |
||
20 | |||
21 | /** @var null|ProcessParamsInterface */ |
||
22 | private $processParams; |
||
23 | |||
24 | /** |
||
25 | * @param array $command |
||
26 | * @param null|ProcessParamsInterface $processParams |
||
27 | */ |
||
28 | 38 | public function __construct(array $command, ?ProcessParamsInterface $processParams = null) |
|
32 | 38 | } |
|
33 | |||
34 | 38 | public function __invoke(): Process |
|
46 |