$profile->getRouteKey(), 'key' => [ 'public' => $profile->getPublicKey(), 'route' => $profile->getRouteKey(), ], 'name' => $profile->name, 'designation' => $profile->designation, 'address' => $profile->address, 'url' => [ 'public' => trans_url('sandy/'.$profile->getPublicKey()), 'user' => guard_url('sandy/profile/'.$profile->getRouteKey()), ], 'status' => trans('app.'.$profile->status), 'created_at' => format_date($profile->created_at), 'updated_at' => format_date($profile->updated_at), ]; } }