public function eagerCursor($bool = true) { $this->query['eagerCursor'] = (bool) $bool; return $this; }
/** * {@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); }