getCommandOptions() public method

Returns all command options added to the builder.
public getCommandOptions ( boolean $includeBase = true ) : CommandOption[]
$includeBase boolean Whether to include command options of the base format in the result.
return CommandOption[] The command options.
Exemplo n.º 1
0
 /**
  * @expectedException \InvalidArgumentException
  */
 public function testGetCommandOptionsFailsIfIncludeBaseNoBoolean()
 {
     $this->builder->getCommandOptions(1234);
 }