Returns the loaded content of the current asset.
Return value
string The content
Overrides AssetInterface::getContent
File
- drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Asset/AssetCache.php, line 75
Class
- AssetCache
- Caches an asset to avoid the cost of loading and dumping.
Namespace
Assetic\Asset
Code
public function getContent() {
return $this->asset
->getContent();
}