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