$accounts->getRouteKey(), 'key' => [ 'public' => $accounts->getPublicKey(), 'route' => $accounts->getRouteKey(), ], 'name' => $accounts->name, 'phone' => $accounts->phone, 'email' => $accounts->email, 'website' => $accounts->website, 'fax' => $accounts->fax, 'notes' => $accounts->notes, 'address' => $accounts->address, 'description' => $accounts->description, 'deleted_at' => $accounts->deleted_at, 'url' => [ 'public' => trans_url('contact/'.$accounts->getPublicKey()), 'user' => guard_url('contact/accounts/'.$accounts->getRouteKey()), ], 'status' => trans('app.'.$accounts->status), 'created_at' => format_date($accounts->created_at), 'updated_at' => format_date($accounts->updated_at), ]; } }