private cacheAsset ( Assetic\Asset\AssetInterface $asset ) | ||
$asset | Assetic\Asset\AssetInterface |
private function cacheAsset(AssetInterface $asset)
{
return $this->configuration->getCacheEnabled() ? new AssetCache($asset, new FilesystemCache($this->configuration->getCachePath())) : $asset;
}