You are here

public function Application::setDefinition in Zircon Profile 8.0

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

Set an input definition set to be used with this application.

Parameters

InputDefinition $definition The input definition:

File

vendor/symfony/console/Application.php, line 220

Class

Application
An Application is the container for a collection of commands.

Namespace

Symfony\Component\Console

Code

public function setDefinition(InputDefinition $definition) {
  $this->definition = $definition;
}