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

Breadcrumb

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

function LazyCommand::isEnabled

Overrides Command::isEnabled

File

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

Class

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

Namespace

Symfony\Component\Console\Command

Code

public function isEnabled() : bool {
    return $this->isEnabled ?? $this->getCommand()
        ->isEnabled();
}
RSS feed
Powered by Drupal