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.
コード例 #1
0
 /**
  * @expectedException \InvalidArgumentException
  */
 public function testGetArgumentsFailsIfIncludeBaseNoBoolean()
 {
     $this->builder->getArguments(1234);
 }
コード例 #2
0
ファイル: Config.php プロジェクト: webmozart/console
 /**
  * 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();
 }