hasCommandConfigs() public method

Returns whether the application has any registered command configurations.
See also: beginCommand()
public hasCommandConfigs ( ) : boolean
return boolean Returns `true` if command configurations were added to the application and `false` otherwise.
コード例 #1
0
 public function testHasCommandConfigs()
 {
     $this->assertFalse($this->config->hasCommandConfigs());
     $this->config->addCommandConfig($config = new CommandConfig());
     $this->assertTrue($this->config->hasCommandConfigs());
 }