Total Complexity | 3 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
9 | class ProcessFactory |
||
10 | { |
||
11 | /** @var array */ |
||
12 | protected $command; |
||
13 | |||
14 | /** @var null|ProcessParamsInterface */ |
||
15 | protected $processParams; |
||
16 | |||
17 | /** |
||
18 | * @param array $command |
||
19 | * @param null|ProcessParamsInterface $processParams |
||
20 | */ |
||
21 | 30 | public function __construct(array $command, ?ProcessParamsInterface $processParams = null) |
|
25 | 30 | } |
|
26 | |||
27 | 30 | public function __invoke(): Process |
|
39 |