protected function getParser() { if ($this->parser === null) { $this->parser = new QueryBuilderHelper($this->repository->getModel(), $this->repository->getMapper()); } return $this->parser; }