| Conditions | 2 |
| Paths | 2 |
| Total Lines | 7 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 54 | public function substitute(SubstitutionStrategy $substitutionStrategy) |
||
| 55 | { |
||
| 56 | $command = ['envsubst']; |
||
| 57 | if (!empty($this->restrictions)) { |
||
| 58 | $command[] = implode(',', $this->shellFormat($this->restrictions)); |
||
| 59 | } |
||
| 60 | $substitutionStrategy->substitute(new Process($command, null, $this->exports)); |
||
| 61 | } |
||
| 73 | } |