Version 2.0.0 of assets package was released improving public API for more convenient use.
Previously you had to specify assets registered as array:
but since the case of registering multiple assets is not that common, the method now accepts a single asset class:
Additional method was added for registering multiple assets at once:
$assetManager->registerMany([ \App\Assets\BootstrapAsset::class, \App\Assets\MainAsset::class, ]);