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

Breadcrumb

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

function Command::getName

Returns the command name.

10 calls to Command::getName()
BaseCommand::initialize in vendor/composer/composer/src/Composer/Command/BaseCommand.php
@inheritDoc
BaseDependencyCommand::doExecute in vendor/composer/composer/src/Composer/Command/BaseDependencyCommand.php
Execute the command.
Command::run in vendor/symfony/console/Command/Command.php
Runs the command.
SingleCommandApplication::run in vendor/symfony/console/SingleCommandApplication.php
Runs the command.
TraceableCommand::execute in vendor/symfony/console/Command/TraceableCommand.php
Executes the current command.

... See full list

File

vendor/symfony/console/Command/Command.php, line 479

Class

Command
Base class for all commands.

Namespace

Symfony\Component\Console\Command

Code

public function getName() : ?string {
    return $this->name;
}

API Navigation

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