$crew->getRouteKey(), 'key' => [ 'public' => $crew->getPublicKey(), 'route' => $crew->getRouteKey(), ], 'user_id' => $crew->user_id, 'plan_id' => $crew->plan_id, 'url' => [ 'public' => trans_url('crew/'.$crew->getPublicKey()), 'user' => guard_url('crew/crew/'.$crew->getRouteKey()), ], 'status' => trans('app.'.$crew->status), 'created_at' => format_date($crew->created_at), 'updated_at' => format_date($crew->updated_at), ]; } }