Assetic\Asset\AssetCache::getCacheKey
Returns a cache key for the current asset.
The key is composed of everything but an asset's content: * source root * source path * target url * last modified * filters
Signature
private function getCacheKey(AssetInterface
$asset,
[FilterInterface
$additionalFilter = null,
[string
$salt = '']] )
Parameters
$asset
— Assetic\Asset\AssetInterface- The asset
$additionalFilter
— Assetic\Filter\FilterInterface- Any additional filter being applied
$salt
— string- Salt for the key
Returns
- string
- A key for identifying the current asset