Property | Type | Description | |
---|---|---|---|
$priority | integer | Default priority for all methods in this filter This filter should run before the request gets parsed by router |
Method | Description | |
---|---|---|
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 |
return | CakeResponse | with cached content if found, null otherwise |
public int $priority | ||
return | integer |