public function asSingleRow(array $wheres = array()) { $results = parent::select($this->table, $wheres); return parent::getSingleRow($results); }