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

Breadcrumb

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

function ConsoleEvent::getCommand

Gets the command that is executed.

File

vendor/symfony/console/Event/ConsoleEvent.php, line 36

Class

ConsoleEvent
Allows to inspect input and output of a command.

Namespace

Symfony\Component\Console\Event

Code

public function getCommand() : ?Command {
    return $this->command;
}

API Navigation

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