private function AssetReference::callAsset

14 calls to AssetReference::callAsset()
AssetReference::clearFilters in drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Asset/AssetReference.php
Clears all filters from the current asset.
AssetReference::dump in drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Asset/AssetReference.php
Applies dump filters and returns the asset as a string.
AssetReference::getContent in drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Asset/AssetReference.php
Returns the loaded content of the current asset.
AssetReference::getFilters in drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Asset/AssetReference.php
Returns an array of filters currently applied.
AssetReference::getLastModified in drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Asset/AssetReference.php
Returns the time the current asset was last modified.

... See full list

File

drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Asset/AssetReference.php, line 118

Class

AssetReference
A reference to an asset in the asset manager.

Namespace

Assetic\Asset

Code

private function callAsset($method, $arguments = array()) {
  $asset = $this->am
    ->get($this->name);
  return call_user_func_array(array(
    $asset,
    $method,
  ), $arguments);
}