$notific->getRouteKey(), 'key' => [ 'public' => $notific->getPublicKey(), 'route' => $notific->getRouteKey(), ], 'id' => $notific->id, 'user_id' => $notific->user_id, 'user_type' => $notific->user_type, 'chatable_id' => $notific->chatable_id, 'chatable_type' => $notific->chatable_type, 'type' => $notific->type, 'mobile' => $notific->mobile, 'details' => $notific->details, 'created_at' => $notific->created_at, 'updated_at' => $notific->updated_at, 'deleted_at' => $notific->deleted_at, 'url' => [ 'public' => trans_url('notific/'.$notific->getPublicKey()), 'user' => guard_url('notific/notific/'.$notific->getRouteKey()), ], 'status' => trans('app.'.$notific->status), 'created_at' => format_date($notific->created_at), 'updated_at' => format_date($notific->updated_at), ]; } }