/** * Loads the objects this QueryResult is supposed to hold * * @return void */ protected function initialize() { if (!is_array($this->rows)) { $this->rows = $this->query->getResult(); } }