getCommandNames() public method

Returns all command names added to the builder.
public getCommandNames ( boolean $includeBase = true ) : CommandName[]
$includeBase boolean Whether to include command names of the base format in the result.
return CommandName[] The command names.
 /**
  * @expectedException \InvalidArgumentException
  */
 public function testGetCommandNamesFailsIfIncludeBaseNoBoolean()
 {
     $this->builder->getCommandNames(1234);
 }