Returns all options added to the builder.
public getOptions ( boolean $includeBase = true ) : |
||
$includeBase | boolean | Whether to include options of the base format in the result. |
리턴 | The options. |
/** * @expectedException \InvalidArgumentException */ public function testGetOptionsFailsIfIncludeBaseNoBoolean() { $this->builder->getOptions(1234); }
/** * Returns the configured options. * * Read {@link Option} for a more detailed description of console options. * * @return Option[] The configured options. * * @see addOption() */ public function getOptions() { return $this->formatBuilder->getOptions(); }