lib/components/web/widgets/Widget.php
public function ensureAssetBundles()
    {
        foreach ($this->assetBundles as $bundleClass) {
            $bundleClass::register(Yii::$app->view);
        }
    }
public function ensureAssetBundles()
    {
        foreach ($this->assetBundles as $bundleClass) {
            $bundleClass::register(Yii::$app->view);
        }
    }
[[@doctodo method_description:ensureAssetBundles]].