eZ\Bundle\EzPublishCoreBundle\HttpCache::isInternalRequestAllowed PHP Method

isInternalRequestAllowed() protected method

This method can be overridden to extend the allowance test.
protected isInternalRequestAllowed ( Request $request ) : boolean
$request Symfony\Component\HttpFoundation\Request
return boolean
    protected function isInternalRequestAllowed(Request $request)
    {
        if (!$this->isInternalIPAllowed($request->getClientIp())) {
            return false;
        }
        return true;
    }