Set whether the query should return its result as an EagerCursor.
public eagerCursor ( boolean $bool = true ) | ||
$bool | boolean |
/** * {@inheritdoc} */ public function eagerCursor($bool = true) { if (!$bool && !empty($this->primers)) { throw new \BadMethodCallException("Can't set eagerCursor to false when using reference primers"); } return parent::eagerCursor($bool); }