public function __construct($model, $em = null) { parent::__construct($model, $em); // Cannot use cursors in raw finder, as it will clash with PkManager $this->withCursor(false); }