$buslists->getRouteKey(), 'key' => [ 'public' => $buslists->getPublicKey(), 'route' => $buslists->getRouteKey(), ], 'name' => $buslists->name, 'source' => $buslists->source, 'available_days' => $buslists->available_days, 'departure_time' => $buslists->departure_time, 'transport_partner' => $buslists->transport_partner, 'bus_number' => $buslists->bus_number, 'bus_category' => $buslists->bus_category, 'url' => [ 'public' => trans_url('buslist/'.$buslists->getPublicKey()), 'user' => guard_url('buslist/buslists/'.$buslists->getRouteKey()), ], 'status' => trans('app.'.$buslists->status), 'created_at' => format_date($buslists->created_at), 'updated_at' => format_date($buslists->updated_at), ]; } }