public function firstWhere(array $where, $columns = array('*')) { $results = parent::findWhere($where, $columns); if ($results) { return $results->first(); } return []; }
public function firstWhere(array $where, $columns = array('*')) { $results = parent::findWhere($where, $columns); if ($results) { return $results->first(); } return []; }