function Application::getDefaultCommands
Same name in this branch
- 11.1.x vendor/composer/composer/src/Composer/Console/Application.php \Composer\Console\Application::getDefaultCommands()
Gets the default commands that should always be available.
Return value
Command[]
9 calls to Application::getDefaultCommands()
- Application::getDefaultCommands in vendor/
composer/ composer/ src/ Composer/ Console/ Application.php - Initializes all the composer commands.
- Application::getDefaultCommands in vendor/
composer/ composer/ src/ Composer/ Console/ Application.php - Initializes all the composer commands.
- Application::init in vendor/
symfony/ console/ Application.php - DbDumpApplication::getDefaultCommands in core/
lib/ Drupal/ Core/ Command/ DbDumpApplication.php - Gets the default commands that should always be available.
- DbDumpApplication::getDefaultCommands in core/
lib/ Drupal/ Core/ Command/ DbDumpApplication.php - Gets the default commands that should always be available.
4 methods override Application::getDefaultCommands()
- Application::getDefaultCommands in vendor/
composer/ composer/ src/ Composer/ Console/ Application.php - Initializes all the composer commands.
- DbDumpApplication::getDefaultCommands in core/
lib/ Drupal/ Core/ Command/ DbDumpApplication.php - Gets the default commands that should always be available.
- DbToolsApplication::getDefaultCommands in core/
lib/ Drupal/ Core/ Command/ DbToolsApplication.php - Gets the default commands that should always be available.
- GenerateProxyClassApplication::getDefaultCommands in core/
lib/ Drupal/ Core/ Command/ GenerateProxyClassApplication.php - Gets the default commands that should always be available.
File
-
vendor/
symfony/ console/ Application.php, line 1148
Class
- Application
- An Application is the container for a collection of commands.
Namespace
Symfony\Component\ConsoleCode
protected function getDefaultCommands() : array {
return [
new HelpCommand(),
new ListCommand(),
new CompleteCommand(),
new DumpCompletionCommand(),
];
}