public function AssetInterface::load

Loads the asset into memory and applies load filters.

You may provide an additional filter to apply during load.

Parameters

FilterInterface $additionalFilter An additional filter:

1 call to AssetInterface::load()
BaseAsset::dump in drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Asset/BaseAsset.php
Applies dump filters and returns the asset as a string.
6 methods override AssetInterface::load()
AssetCache::load in drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Asset/AssetCache.php
Loads the asset into memory and applies load filters.
AssetCollection::load in drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Asset/AssetCollection.php
Loads the asset into memory and applies load filters.
AssetReference::load in drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Asset/AssetReference.php
Loads the asset into memory and applies load filters.
FileAsset::load in drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Asset/FileAsset.php
Loads the asset into memory and applies load filters.
HttpAsset::load in drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Asset/HttpAsset.php
Loads the asset into memory and applies load filters.

... See full list

File

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

Class

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

Namespace

Assetic\Asset

Code

public function load(FilterInterface $additionalFilter = null);