function Application::__construct
Same name in this branch
- 11.1.x vendor/composer/composer/src/Composer/Console/Application.php \Composer\Console\Application::__construct()
6 calls to Application::__construct()
- Application::__construct in vendor/
composer/ composer/ src/ Composer/ Console/ Application.php - Application::__construct in vendor/
composer/ composer/ src/ Composer/ Console/ Application.php - DbToolsApplication::__construct in core/
lib/ Drupal/ Core/ Command/ DbToolsApplication.php - DbToolsApplication::__construct in core/
lib/ Drupal/ Core/ Command/ DbToolsApplication.php - GenerateProxyClassApplication::__construct in core/
lib/ Drupal/ Core/ Command/ GenerateProxyClassApplication.php - Constructs a new GenerateProxyClassApplication instance.
3 methods override Application::__construct()
- Application::__construct in vendor/
composer/ composer/ src/ Composer/ Console/ Application.php - DbToolsApplication::__construct in core/
lib/ Drupal/ Core/ Command/ DbToolsApplication.php - GenerateProxyClassApplication::__construct in core/
lib/ Drupal/ Core/ Command/ GenerateProxyClassApplication.php - Constructs a new GenerateProxyClassApplication instance.
File
-
vendor/
symfony/ console/ Application.php, line 94
Class
- Application
- An Application is the container for a collection of commands.
Namespace
Symfony\Component\ConsoleCode
public function __construct(string $name = 'UNKNOWN', string $version = 'UNKNOWN') {
$this->terminal = new Terminal();
$this->defaultCommand = 'list';
if (\defined('SIGINT') && SignalRegistry::isSupported()) {
$this->signalRegistry = new SignalRegistry();
$this->signalsToDispatchEvent = [
\SIGINT,
\SIGQUIT,
\SIGTERM,
\SIGUSR1,
\SIGUSR2,
\SIGALRM,
];
}
}