| Conditions | 3 |
| Paths | 3 |
| Total Lines | 13 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 46 | public function install() |
||
| 47 | { |
||
| 48 | foreach ($this->mappingResolver->resolve() as $mapping) { |
||
| 49 | if (file_exists($mapping->getDestination())) { |
||
| 50 | continue; |
||
| 51 | } |
||
| 52 | |||
| 53 | $this->fileInstaller->installFile($mapping); |
||
| 54 | |||
| 55 | $this->io->write( |
||
| 56 | sprintf( |
||
| 57 | '<info>Installed:</info> %s', |
||
| 58 | $mapping->getRelativeDestination() |
||
| 59 | ) |
||
| 64 |