Свойство | Type | Description | |
---|---|---|---|
$priority | integer | Default priority for all methods in this filter This filter should run before the request gets parsed by router |
Méthode | 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 |
Résultat | CakeResponse | with cached content if found, null otherwise |
public int $priority | ||
Résultat | integer |