Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
51 | public function substitute(Process $envSubstProcess) |
||
52 | { |
||
53 | $this->style->verbose('Substituting environment in STDIN and dumping to '.$this->filename); |
||
54 | |||
55 | $envSubstProcess->setInput($this->contents); |
||
56 | $this->processRunner->mustRun($envSubstProcess); |
||
57 | |||
58 | $this->filesystem->dumpFile( |
||
59 | $this->filename, |
||
60 | $envSubstProcess->getOutput() |
||
61 | ); |
||
64 | } |