public function blockIllegalRequests(ActionRequest $request)
    {
        $filterMatched = array_reduce($this->filters, function (bool $filterMatched, RequestFilter $filter) use ($request) {
            return ($filter->filterRequest($request) ? true : $filterMatched);
        }, false);

        if ($this->rejectAll && !$filterMatched) {
            throw new AccessDeniedException('The request was blocked, because no request filter explicitly allowed it.', 1216923741);
        }
    }
public function blockIllegalRequests(ActionRequest $request)
    {
        $filterMatched = array_reduce($this->filters, function (bool $filterMatched, RequestFilter $filter) use ($request) {
            return ($filter->filterRequest($request) ? true : $filterMatched);
        }, false);

        if ($this->rejectAll && !$filterMatched) {
            throw new AccessDeniedException('The request was blocked, because no request filter explicitly allowed it.', 1216923741);
        }
    }
public function blockIllegalRequests ( ActionRequest $ request ) { $ filterMatched = array_reduce ( $ this -> filters , function ( bool $ filterMatched , RequestFilter $ filter ) use ( $ request ) { return ( $ filter -> filterRequest ( $ request ) ? true : $ filterMatched ) ; } , false ) ; if ( $ this -> rejectAll && ! $ filterMatched ) { throw new AccessDeniedException ( 'The request was blocked, because no request filter explicitly allowed it.' , 1216923741 ) ; } }
Analyzes a request against the configured firewall rules and blocks
any illegal request.

@param ActionRequest $request The request to be analyzed
@return void
@throws AccessDeniedException if the
Analyzes a request against the configured firewall rules and blocks any illegal request .