Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Application.php

function Application::__construct

Same name in this branch
  1. 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.

... See full list

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\Console

Code

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,
        ];
    }
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal