Returns the sub-command configuration for a given name.
public getSubCommandConfig ( string $name ) : |
||
$name | string | The name of the sub-command. |
Результат | The sub-command configuration. |
/** * @expectedException \Webmozart\Console\Api\Command\NoSuchCommandException */ public function testGetSubCommandConfigFailsIfCommandNotFound() { $this->config->getSubCommandConfig('command'); }