private function AssetReference::callAsset

14 calls to AssetReference::callAsset()

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);
}