Returns whether the builder contains any option.
public hasOptions ( boolean $includeBase = true ) : boolean | ||
$includeBase | boolean | Whether to include options in the base format in the search. |
return | boolean | Returns `true` if the builder contains any option and `false` otherwise. |
/** * @expectedException \InvalidArgumentException */ public function testHasOptionsFailsIfIncludeBaseNoBoolean() { $this->builder->hasOptions(1234); }