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