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