getCommandOptions() public méthode

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.
Résultat CommandOption[] The command options.
 /**
  * @expectedException \InvalidArgumentException
  */
 public function testGetCommandOptionsFailsIfIncludeBaseNoBoolean()
 {
     $this->builder->getCommandOptions(1234);
 }