You are here

public function Command::getNativeDefinition 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::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

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

File

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

Class

Command
Base class for all commands.

Namespace

Symfony\Component\Console\Command

Code

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