Sulu\Component\Webspace\Analyzer\Attributes\WebsiteRequestProcessor::validate PHP Method

validate() public method

public validate ( RequestAttributes $attributes )
$attributes RequestAttributes
    public function validate(RequestAttributes $attributes)
    {
        if (null === $attributes->getAttribute('portalInformation')) {
            throw new UrlMatchNotFoundException($attributes->getAttribute('requestUri'));
        }
        return true;
    }
WebsiteRequestProcessor