public function first() { if (!$this->_rows) { $this->readRows(); } return !empty($this->_rows) ? $this->_rows[0] : null; }