assets
assets copied to clipboard
Allow to register AssetBundle object
There is not way to pass configuration into AssetBundle class to a contructor, only to public properties.
I'd like to have a method that accepts an object of AssetBundle and registers it as it does with a class of AssetBundle.
$assetManager->registerBundle(new AssetBundle())