'like', ]; public function model() { return Airline::class; } /** * Return the list of airline formatted for a select box * @return array */ public function selectBoxList($add_blank=false): array { $retval = []; $items = $this->all(); if($add_blank) { $retval[] = ''; } foreach ($items as $i) { $retval[$i->id] = $i->name; } return $retval; } }