function Application::getDefinition
Gets the InputDefinition related to this Application.
5 calls to Application::getDefinition()
- Application::doRun in vendor/
symfony/ console/ Application.php - Runs the current application.
- DbDumpApplication::getDefinition in core/
lib/ Drupal/ Core/ Command/ DbDumpApplication.php - Overridden so the application doesn't expect the command name as the first argument.
- DbDumpApplication::getDefinition in core/
lib/ Drupal/ Core/ Command/ DbDumpApplication.php - Overridden so the application doesn't expect the command name as the first argument.
- GenerateProxyClassApplication::getDefinition in core/
lib/ Drupal/ Core/ Command/ GenerateProxyClassApplication.php - Overridden so the application doesn't expect the command name as the first argument.
- GenerateProxyClassApplication::getDefinition in core/
lib/ Drupal/ Core/ Command/ GenerateProxyClassApplication.php - Overridden so the application doesn't expect the command name as the first argument.
2 methods override Application::getDefinition()
- DbDumpApplication::getDefinition in core/
lib/ Drupal/ Core/ Command/ DbDumpApplication.php - Overridden so the application doesn't expect the command name as the first argument.
- GenerateProxyClassApplication::getDefinition in core/
lib/ Drupal/ Core/ Command/ GenerateProxyClassApplication.php - Overridden so the application doesn't expect the command name as the first argument.
File
-
vendor/
symfony/ console/ Application.php, line 373
Class
- Application
- An Application is the container for a collection of commands.
Namespace
Symfony\Component\ConsoleCode
public function getDefinition() : InputDefinition {
$this->definition ??= $this->getDefaultInputDefinition();
if ($this->singleCommand) {
$inputDefinition = $this->definition;
$inputDefinition->setArguments();
return $inputDefinition;
}
return $this->definition;
}