Conditions | 2 |
Paths | 2 |
Total Lines | 15 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
20 | protected function buildCommand(FormatInterface $format, $outputPathfile) |
||
21 | { |
||
22 | $command = parent::buildCommand($format, $outputPathfile); |
||
23 | |||
24 | if (empty($this->headers)) { |
||
25 | return $command; |
||
26 | } |
||
27 | |||
28 | return Collection::make($command)->map(function ($command) { |
||
29 | return static::mergeBeforePathInput( |
||
30 | $command, |
||
31 | $this->getPathfile(), |
||
|
|||
32 | static::compileHeaders($this->headers) |
||
33 | ); |
||
34 | })->all(); |
||
35 | } |
||
37 |