public function AssetInterface::getContent

Returns the loaded content of the current asset.

Return value

string The content

4 methods override AssetInterface::getContent()
AssetCache::getContent in drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Asset/AssetCache.php
Returns the loaded content of the current asset.
AssetCollection::getContent in drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Asset/AssetCollection.php
Returns the loaded content of the current asset.
AssetReference::getContent in drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Asset/AssetReference.php
Returns the loaded content of the current asset.
BaseAsset::getContent in drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Asset/BaseAsset.php
Returns the loaded content of the current asset.

File

drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Asset/AssetInterface.php, line 72

Class

AssetInterface
An asset has a mutable URL and content and can be loaded and dumped.

Namespace

Assetic\Asset

Code

public function getContent();