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

Breadcrumb

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

function CommandEvent::getCommandName

Retrieves the name of the command being run

File

vendor/composer/composer/src/Composer/Plugin/CommandEvent.php, line 76

Class

CommandEvent
An event for all commands.

Namespace

Composer\Plugin

Code

public function getCommandName() : string {
    return $this->commandName;
}
RSS feed
Powered by Drupal