Assetic\AssetManager::set
Registers an asset to the current asset manager.
Signature
public function set(string
$name,
AssetInterface
$asset )
Parameters
$name
— string- The asset name
$asset
— Assetic\Asset\AssetInterface- The asset
Errors/Exceptions
-
InvalidArgumentException
- If the asset name is invalid