protected function ExportCommand::configure in Devel 8
Same name and namespace in other branches
- 8.3 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 34 
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');
}