26 public function all();
add(AssetInterface $asset)
Adds an asset to the current collection.
replaceLeaf(AssetInterface $needle, AssetInterface $replacement, $graceful=false)
Replaces an existing leaf with a new one.
all()
Returns all child assets.
removeLeaf(AssetInterface $leaf, $graceful=false)
Removes a leaf.
An asset has a mutable URL and content and can be loaded and dumped.