PHP 클래스 eZ\Bundle\EzPublishCoreBundle\HttpCache

상속: extends FOS\HttpCacheBundle\SymfonyCache\EventDispatchingHttpCache
파일 보기 프로젝트 열기: ezsystems/ezpublish-kernel

보호된 메소드들

메소드 설명
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