$company->getRouteKey(), 'key' => [ 'public' => $company->getPublicKey(), 'route' => $company->getRouteKey(), ], 'role_id' => $company->role_id, 'title' => $company->title, 'name' => $company->name, 'surname' => $company->surname, 'phone' => $company->phone, 'email' => $company->email, 'ageny_type' => $company->ageny_type, 'password' => $company->password, 'api_token' => $company->api_token, 'remember_token' => $company->remember_token, 'email_verified' => $company->email_verified, 'permissions' => $company->permissions, 'user_id' => $company->user_id, 'user_type' => $company->user_type, 'photo' => $company->photo, 'deleted_at' => $company->deleted_at, 'url' => [ 'public' => trans_url('company/'.$company->getPublicKey()), 'user' => guard_url('company/company/'.$company->getRouteKey()), ], 'status' => trans('app.'.$company->status), 'created_at' => format_date($company->created_at), 'updated_at' => format_date($company->updated_at), ]; } }