/** * {@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); }