getQuery()); } protected function fetchQueryRows() { return $this->query->fetchAll(); } /** * @return SimpleQuery */ public function getQuery() { if ($this->query === null) { $this->query = $this->prepareQuery(); } return $this->query; } }