Conditions | 2 |
Paths | 3 |
Total Lines | 17 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
16 | public function handle() |
||
17 | { |
||
18 | $this->line(''); |
||
19 | |||
20 | try { |
||
21 | $filePath = $this->generator->compile( |
||
22 | $this->getTemplatePath(), |
||
23 | $this->getTemplateData(), |
||
24 | $this->getFileGenerationPath() |
||
25 | ); |
||
26 | |||
27 | $this->info("Created: {$filePath}"); |
||
28 | } catch (\Exception $e) { |
||
29 | $this->error($e->getMessage()); |
||
30 | } |
||
31 | $this->line(''); |
||
32 | } |
||
33 | } |
||
34 |