/** * Get list of arguments for the command * * @return InputOption[] */ public function getInputList() { $modeOptions[] = new InputArgument(self::INPUT_KEY_MODE, InputArgument::OPTIONAL, 'Indexer mode type [' . self::INPUT_KEY_REALTIME . '|' . self::INPUT_KEY_SCHEDULE . ']'); $optionsList = array_merge($modeOptions, parent::getInputList()); return $optionsList; }
/** * {@inheritdoc} */ protected function configure() { $this->setName('indexer:reindex')->setDescription('Reindexes Data')->setDefinition($this->getInputList()); parent::configure(); }
/** * {@inheritdoc} */ protected function configure() { $this->setName('indexer:show-mode')->setDescription('Shows Index Mode')->setDefinition($this->getInputList()); parent::configure(); }
/** * {@inheritdoc} */ protected function configure() { $this->setName('indexer:reset')->setDescription('Resets indexer status to invalid')->setDefinition($this->getInputList()); parent::configure(); }
/** * {@inheritdoc} */ protected function configure() { $this->setName('indexer:status')->setDescription('Shows status of Indexer')->setDefinition($this->getInputList()); parent::configure(); }