hasOptionalArgument() 공개 메소드

Returns whether the builder contains an optional argument.
public hasOptionalArgument ( boolean $includeBase = true ) : boolean
$includeBase boolean Whether to include arguments in the base format in the search.
리턴 boolean Returns `true` if the builder contains an optional argument and `false` otherwise.
예제 #1
0
 /**
  * @expectedException \InvalidArgumentException
  */
 public function testHasOptionalArgumentFailsIfIncludeBaseNoBoolean()
 {
     $this->builder->hasOptionalArgument(1234);
 }