You are here

protected function CustomApplication::getDefaultInputDefinition in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/console/Tests/ApplicationTest.php \Symfony\Component\Console\Tests\CustomApplication::getDefaultInputDefinition()

Overwrites the default input definition.

Return value

InputDefinition An InputDefinition instance

Overrides Application::getDefaultInputDefinition

File

vendor/symfony/console/Tests/ApplicationTest.php, line 1031

Class

CustomApplication

Namespace

Symfony\Component\Console\Tests

Code

protected function getDefaultInputDefinition() {
  return new InputDefinition(array(
    new InputOption('--custom', '-c', InputOption::VALUE_NONE, 'Set the custom input definition.'),
  ));
}