ip(), (array) $data['allowed'])) { return $next($request); } if ($this->inExceptArray($request)) { return $next($request); } throw new HttpException( 503, 'Service Unavailable', null, isset($data['retry']) ? ['Retry-After' => $data['retry']] : [] ); } return $next($request); } }