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