$advt_hit->getRouteKey(), 'key' => [ 'public' => $advt_hit->getPublicKey(), 'route' => $advt_hit->getRouteKey(), ], 'id' => $advt_hit->id, 'views' => $advt_hit->views, 'clicks' => $advt_hit->clicks, 'ipaddress' => $advt_hit->ipaddress, 'created_at' => $advt_hit->created_at, 'updated_at' => $advt_hit->updated_at, 'deleted_at' => $advt_hit->deleted_at, 'url' => [ 'public' => trans_url('advertisement/'.$advt_hit->getPublicKey()), 'user' => guard_url('advertisement/advt_hit/'.$advt_hit->getRouteKey()), ], 'status' => trans('app.'.$advt_hit->status), 'created_at' => format_date($advt_hit->created_at), 'updated_at' => format_date($advt_hit->updated_at), ]; } }