Conditions | 3 |
Paths | 4 |
Total Lines | 8 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
49 | protected function command() { |
||
50 | $api = $this->option('api') ? ' --api ' : ''; |
||
51 | $action = $this->argument('action') ? ' ' . $this->argument('action') . ' ' : ''; |
||
52 | return 'php artisan make:route ' . $this->argument('link') . $action . ' --type=' . $this->option('type') . |
||
53 | ' --method=' . $this->option('method') . |
||
54 | $api . |
||
55 | ' -a --menu'; |
||
56 | } |
||
57 | } |
||
58 |