You are here

public function Command::getName in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/console/Command/Command.php \Symfony\Component\Console\Command\Command::getName()

Returns the command name.

Return value

string The command name

1 call to Command::getName()
Command::run in vendor/symfony/console/Command/Command.php
Runs the command.

File

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

Class

Command
Base class for all commands.

Namespace

Symfony\Component\Console\Command

Code

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