getCommandConfig() public méthode

Returns the command configuration for a given name.
See also: beginCommand()
public getCommandConfig ( string $name ) : CommandConfig
$name string The name of the command.
Résultat CommandConfig The command configuration.
 /**
  * @expectedException \Webmozart\Console\Api\Command\NoSuchCommandException
  */
 public function testGetCommandConfigFailsIfCommandNotFound()
 {
     $this->config->getCommandConfig('command');
 }