'like', 'type' => 'like', ]; /** * @return string */ public function model() { return Subfleet::class; } /** * Return the list of aircraft formatted for a select box * * @param bool $add_blank * * @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.' | '.$i->airline->icao; } return $retval; } }