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

Breadcrumb

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

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

... See full list

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

Code

public function getApplication() : ?Application {
    return $this->application;
}

API Navigation

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