| Conditions | 3 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | public function publishFile($sourceFile, $destinationFile, $fileName) |
||
| 15 | { |
||
| 16 | if (file_exists($destinationFile) && ! $this->confirmOverwrite($destinationFile)) { |
||
| 17 | return; |
||
| 18 | } |
||
| 19 | |||
| 20 | copy($sourceFile, $destinationFile); |
||
| 21 | |||
| 22 | $this->comment($fileName.' published'); |
||
| 23 | $this->info($destinationFile); |
||
| 24 | } |
||
| 69 |