$teams->getRouteKey(), 'key' => [ 'public' => $teams->getPublicKey(), 'route' => $teams->getRouteKey(), ], 'team_id' => $teams->team_id, 'name' => $teams->name, 'code' => $teams->code, 'logo' => $teams->logo, 'status' => $teams->status, 'min_bet' => $teams->min_bet, 'max_bet' => $teams->max_bet, 'bet_ratio' => $teams->bet_ratio, 'bet_close_date' => $teams->bet_close_date, 'bet_open_date' => $teams->bet_open_date, 'url' => [ 'public' => trans_url('team/'.$teams->getPublicKey()), 'user' => guard_url('team/teams/'.$teams->getRouteKey()), ], 'status' => trans('app.'.$teams->status), 'created_at' => format_date($teams->created_at), 'updated_at' => format_date($teams->updated_at), ]; } }