Removes a leaf.
Parameters
AssetInterface $needle The leaf to remove:
Throws
\InvalidArgumentException If the asset cannot be found
File
- drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Asset/AssetCollectionInterface.php, line 42
Class
- AssetCollectionInterface
- An asset collection.
Namespace
Assetic\Asset
Code
public function removeLeaf(AssetInterface $leaf);