| Total Complexity | 3 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class PbagCommand extends Command |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Make directory if it doesn't already exist. |
||
| 12 | * |
||
| 13 | * @param string $dir |
||
| 14 | */ |
||
| 15 | protected function makeDir($dir) |
||
| 21 | } |
||
| 22 | } |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Replace mustache with replacement in file. |
||
| 26 | * |
||
| 27 | * @param string $mustache |
||
| 28 | * @param string $replacement |
||
| 29 | * @param string $file |
||
| 30 | * |
||
| 31 | * @return string |
||
| 32 | */ |
||
| 33 | protected function replace($mustache, $replacement, $file) |
||
| 38 |