$pr->getRouteKey(), 'key' => [ 'public' => $pr->getPublicKey(), 'route' => $pr->getRouteKey(), ], 'email' => $pr->email, 'password' => $pr->password, 'name' => $pr->name, 'url' => [ 'public' => trans_url('realestate/'.$pr->getPublicKey()), 'user' => guard_url('realestate/pr/'.$pr->getRouteKey()), ], 'status' => trans('app.'.$pr->status), 'created_at' => format_date($pr->created_at), 'updated_at' => format_date($pr->updated_at), ]; } }