Property | Type | Description | |
---|---|---|---|
$priority | integer | Filter priority, we need it to run before router |
Property | Type | Description | |
---|---|---|---|
$config | Object containing configuration settings for asset compressor |
Method | Description | |
---|---|---|
beforeDispatch ( Cake\Event\Event $event ) : |
Checks if request is for a compiled asset, otherwise skip any operation |
Method | Description | |
---|---|---|
_getConfig ( ) : |
Config setter, used for testing the filter. | |
getName ( |
Returns the build name for a requested asset |
protected _getConfig ( ) : |
||
return | The completed config instance. |
public beforeDispatch ( Cake\Event\Event $event ) : |
||
$event | Cake\Event\Event | containing the request and response object |
return | Response if the client is requesting a recognized asset, null otherwise |
protected AssetConfig,MiniAsset $config | ||
return |
public int $priority | ||
return | integer |