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

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