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

Breadcrumb

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

function LazyCommand::setApplication

Overrides Command::setApplication

File

vendor/symfony/console/Command/LazyCommand.php, line 52

Class

LazyCommand
@author Nicolas Grekas <p@tchwork.com>

Namespace

Symfony\Component\Console\Command

Code

public function setApplication(?Application $application) : void {
    if ($this->command instanceof parent) {
        $this->command
            ->setApplication($application);
    }
    parent::setApplication($application);
}
RSS feed
Powered by Drupal