Adds an asset to the current collection.
Parameters
AssetInterface $asset An asset:
File
- drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Asset/AssetCollectionInterface.php, line 33
Class
- AssetCollectionInterface
- An asset collection.
Namespace
Assetic\Asset
Code
public function add(AssetInterface $asset);