You are here

public function ListCommand::getNativeDefinition in Zircon Profile 8

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

Gets the InputDefinition to be used to create XML and Text representations of this Command.

Can be overridden to provide the original command representation when it would otherwise be changed by merging with the application InputDefinition.

This method is not part of public API and should not be used directly.

Return value

InputDefinition An InputDefinition instance

Overrides Command::getNativeDefinition

File

vendor/symfony/console/Command/ListCommand.php, line 61

Class

ListCommand
ListCommand displays the list of all available commands for the application.

Namespace

Symfony\Component\Console\Command

Code

public function getNativeDefinition() {
  return $this
    ->createDefinition();
}