You are here

public function Command::getDefinition in Zircon Profile 8.0

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

Gets the InputDefinition attached to this Command.

Return value

InputDefinition An InputDefinition instance

1 call to Command::getDefinition()
Command::getNativeDefinition in vendor/symfony/console/Command/Command.php
Gets the InputDefinition to be used to create XML and Text representations of this Command.

File

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

Class

Command
Base class for all commands.

Namespace

Symfony\Component\Console\Command

Code

public function getDefinition() {
  return $this->definition;
}