| Conditions | 2 |
| Paths | 2 |
| Total Lines | 7 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 27 | protected function createRoutesFile($module, $type) |
||
| 28 | { |
||
| 29 | if (!file_exists(base_path() . "/app/Modules/" . $module . "/" . $type . ".php")) { |
||
| 30 | $this->info("Creating $type routes file"); |
||
|
|
|||
| 31 | file_put_contents( |
||
| 32 | base_path() . "/app/Modules/" . $module . "/" . $type . ".php", |
||
| 33 | $this->compileRoutesStub($module, $type) |
||
| 34 | ); |
||
| 52 |