getSubCommandConfig() публичный Метод

Returns the sub-command configuration for a given name.
См. также: beginSubCommand()
public getSubCommandConfig ( string $name ) : SubCommandConfig
$name string The name of the sub-command.
Результат SubCommandConfig The sub-command configuration.
Пример #1
0
 /**
  * @expectedException \Webmozart\Console\Api\Command\NoSuchCommandException
  */
 public function testGetSubCommandConfigFailsIfCommandNotFound()
 {
     $this->config->getSubCommandConfig('command');
 }