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