PHP Класс eZ\Bundle\EzPublishCoreBundle\HttpCache

Наследование: extends FOS\HttpCacheBundle\SymfonyCache\EventDispatchingHttpCache
Показать файл Открыть проект

Защищенные методы

Метод Описание
createStore ( )
getDefaultSubscribers ( )
getInternalAllowedIPs ( ) : array Returns an array of allowed IPs for Http PURGE requests.
invalidate ( Request $request, boolean $catch = false ) : Response Handle invalidation, including Http PURGE requests.
isInternalIPAllowed ( string $ip ) : boolean Checks if $ip is allowed for Http PURGE requests.
isInternalRequestAllowed ( Request $request ) : boolean Checks if current purge request is allowed.

Описание методов

createStore() защищенный Метод

protected createStore ( )

getDefaultSubscribers() защищенный Метод

protected getDefaultSubscribers ( )

getInternalAllowedIPs() защищенный Метод

Returns an array of allowed IPs for Http PURGE requests.
protected getInternalAllowedIPs ( ) : array
Результат array

invalidate() защищенный Метод

All non-allowed PURGE requests will receive an HTTP 405.
protected invalidate ( Request $request, boolean $catch = false ) : Response
$request Symfony\Component\HttpFoundation\Request
$catch boolean
Результат Symfony\Component\HttpFoundation\Response

isInternalIPAllowed() защищенный Метод

Checks if $ip is allowed for Http PURGE requests.
protected isInternalIPAllowed ( string $ip ) : boolean
$ip string
Результат boolean

isInternalRequestAllowed() защищенный Метод

This method can be overridden to extend the allowance test.
protected isInternalRequestAllowed ( Request $request ) : boolean
$request Symfony\Component\HttpFoundation\Request
Результат boolean