/** * {@inheritdoc} */ protected function configure() { parent::configure(); $this->setName('fos:js-routing:debug')->setDescription('Displays currently exposed routes for an application')->setHelp(<<<EOF The <info>fos:js-routing:debug</info> command displays an application's routes which will be available via JavaScript. <info>php app/console fos:js-routing:debug</info> You can alternatively specify a route name as an argument to get more info about that specific route: <info>php app/console fos:js-routing:debug my_route</info> EOF ); }
/** * {@inheritdoc} */ protected function configure() { parent::configure(); $this->setName('fos:js-routing:debug')->setAliases(array())->setDescription('Displays currently exposed routes for an application')->setHelp(<<<EOF The <info>fos:js-routing:debug</info> command displays an application's routes which will be available via JavaScript. <info>php app/console fos:js-routing:debug</info> You can alternatively specify a route name as an argument to get more info about that specific route: <info>php app/console fos:js-routing:debug my_route</info> EOF )->addOption('sets', null, InputOption::VALUE_IS_ARRAY | InputOption::VALUE_REQUIRED, 'Dump only routes from specific set'); }