Adds an asset to the current collection.
AssetInterface $asset An asset:
Overrides AssetCollectionInterface::add
public function add(AssetInterface $asset) { $this->assets[] = $asset; }