/** * 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']]); }
/** * @param RoutesAnalyzer $analyzer */ public function __construct(RoutesAnalyzer $analyzer) { parent::__construct(); $this->analyzer = $analyzer; }