AssetManager is configured as an application component in Application by default.
You can access that instance via Yii::$app->assetManager.
You can modify its configuration by adding an array to your application config under components
as shown in the following example:
php
'assetManager' => [
'bundles' => [
you can override AssetBundle configs here
],
]
For more details and usage information on AssetManager, see the guide article on assets.