Example #1
0
 /**
  * Get the console command options.
  *
  * @return array
  */
 public function getOptions()
 {
     return array_merge(parent::getOptions(), [['delete', null, InputOption::VALUE_NONE, 'Delete the unused views found']]);
 }
Example #2
0
 /**
  * @param RoutesAnalyzer $analyzer
  */
 public function __construct(RoutesAnalyzer $analyzer)
 {
     parent::__construct();
     $this->analyzer = $analyzer;
 }