| Total Complexity | 4 | 
| Total Lines | 61 | 
| Duplicated Lines | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 10 | class RoutesGeneratorCommand extends Base  | 
            ||
| 11 | { | 
            ||
| 12 | /**  | 
            ||
| 13 | * The console command name.  | 
            ||
| 14 | *  | 
            ||
| 15 | * @var string  | 
            ||
| 16 | */  | 
            ||
| 17 | protected $name = 'artomator.scaffold:routes';  | 
            ||
| 18 | |||
| 19 | /**  | 
            ||
| 20 | * The console command description.  | 
            ||
| 21 | *  | 
            ||
| 22 | * @var string  | 
            ||
| 23 | */  | 
            ||
| 24 | protected $description = 'Create routes command';  | 
            ||
| 25 | |||
| 26 | /**  | 
            ||
| 27 | * Create a new command instance.  | 
            ||
| 28 | */  | 
            ||
| 29 | public function __construct()  | 
            ||
| 34 | }  | 
            ||
| 35 | |||
| 36 | /**  | 
            ||
| 37 | * Execute the command.  | 
            ||
| 38 | *  | 
            ||
| 39 | * @return void  | 
            ||
| 40 | */  | 
            ||
| 41 | public function handle()  | 
            ||
| 42 |     { | 
            ||
| 43 | parent::handle();  | 
            ||
| 44 | |||
| 45 | $routesGenerator = new RoutesGenerator($this->commandData);  | 
            ||
| 46 | $routesGenerator->regenerate();  | 
            ||
| 47 | |||
| 48 | $this->performPostActions();  | 
            ||
| 49 | }  | 
            ||
| 50 | |||
| 51 | /**  | 
            ||
| 52 | * Get the console command options.  | 
            ||
| 53 | *  | 
            ||
| 54 | * @return array  | 
            ||
| 55 | */  | 
            ||
| 56 | public function getOptions()  | 
            ||
| 59 | }  | 
            ||
| 60 | |||
| 61 | /**  | 
            ||
| 62 | * Get the console command arguments.  | 
            ||
| 63 | *  | 
            ||
| 64 | * @return array  | 
            ||
| 65 | */  | 
            ||
| 66 | protected function getArguments()  | 
            ||
| 71 | ];  | 
            ||
| 72 | }  | 
            ||
| 74 |