getArguments() public method

Returns all arguments added to the builder.
public getArguments ( boolean $includeBase = true ) : Argument[]
$includeBase boolean Whether to include arguments of the base format in the result.
return Argument[] The arguments.
 /**
  * @expectedException \InvalidArgumentException
  */
 public function testGetArgumentsFailsIfIncludeBaseNoBoolean()
 {
     $this->builder->getArguments(1234);
 }
示例#2
0
 /**
  * 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();
 }