setName('foq:elastica:reset') ->setDescription('Recreates all indexes'); } /** * @see Command */ protected function execute(InputInterface $input, OutputInterface $output) { foreach ($this->container->get('foq_elastica.index_manager')->getAllIndexes() as $index) { } } }