/** * Get a list of years currently used from the afg table * @return mixed */ protected function years() { return Afg::groupBy('year')->lists('year'); }