$banned_i_p->getRouteKey(), 'key' => [ 'public' => $banned_i_p->getPublicKey(), 'route' => $banned_i_p->getRouteKey(), ], 'ip' => $banned_i_p->ip, 'is_banned' => $banned_i_p->is_banned, 'url' => [ 'public' => trans_url('banned_ip/'.$banned_i_p->getPublicKey()), 'user' => guard_url('banned_ip/banned_i_p/'.$banned_i_p->getRouteKey()), ], 'status' => trans('app.'.$banned_i_p->status), 'created_at' => format_date($banned_i_p->created_at), 'updated_at' => format_date($banned_i_p->updated_at), ]; } }