function Command::getApplication
Gets the application instance for this command.
14 calls to Command::getApplication()
- BaseCommand::createComposerInstance in vendor/
composer/ composer/ src/ Composer/ Command/ BaseCommand.php - Calls {
- BaseCommand::createComposerInstance in vendor/
composer/ composer/ src/ Composer/ Command/ BaseCommand.php - Calls {
- BaseCommand::getApplication in vendor/
composer/ composer/ src/ Composer/ Command/ BaseCommand.php - Gets the application instance for this command.
- BaseCommand::getApplication in vendor/
composer/ composer/ src/ Composer/ Command/ BaseCommand.php - Gets the application instance for this command.
- BaseCommand::getIO in vendor/
composer/ composer/ src/ Composer/ Command/ BaseCommand.php
2 methods override Command::getApplication()
- BaseCommand::getApplication in vendor/
composer/ composer/ src/ Composer/ Command/ BaseCommand.php - Gets the application instance for this command.
- TraceableCommand::getApplication in vendor/
symfony/ console/ Command/ TraceableCommand.php - Gets the application instance for this command.
File
-
vendor/
symfony/ console/ Command/ Command.php, line 144
Class
- Command
- Base class for all commands.
Namespace
Symfony\Component\Console\CommandCode
public function getApplication() : ?Application {
return $this->application;
}