프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$priority | integer | Default priority for all methods in this filter This filter should run before the request gets parsed by router |
메소드 | 설명 | |
---|---|---|
beforeDispatch ( CakeEvent $event ) : CakeResponse | Checks whether the response was cached and set the body accordingly. |
public beforeDispatch ( CakeEvent $event ) : CakeResponse | ||
$event | CakeEvent | containing the request and response object |
리턴 | CakeResponse | with cached content if found, null otherwise |
public int $priority | ||
리턴 | integer |