code: public function ensureAssetBundles()
      {
          foreach ($this->assetBundles as $bundleClass) {
              $bundleClass::register(Yii::$app->view);
          }
      }
docs: [[@doctodo method_description:ensureAssetBundles]].