protected function ExportCommand::configure in Devel 8.3
Same name and namespace in other branches
- 8 webprofiler/src/Command/ExportCommand.php \Drupal\webprofiler\Command\ExportCommand::configure()
- 8.2 webprofiler/src/Command/ExportCommand.php \Drupal\webprofiler\Command\ExportCommand::configure()
- 4.x webprofiler/src/Command/ExportCommand.php \Drupal\webprofiler\Command\ExportCommand::configure()
File
- webprofiler/
src/ Command/ ExportCommand.php, line 35
Class
- ExportCommand
- Class ExportCommand.
Namespace
Drupal\webprofiler\CommandCode
protected function configure() {
$this
->setName('webprofiler:export')
->setDescription($this
->trans('commands.webprofiler.export.description'))
->addArgument('id', InputArgument::OPTIONAL, $this
->trans('commands.webprofiler.export.arguments.id'))
->addOption('directory', NULL, InputOption::VALUE_REQUIRED, $this
->trans('commands.webprofiler.export.options.directory'), '/tmp');
}