* @since 2.0 */ class Assets { public static function registerBundle($responsive = false) { $bundle = $responsive ? 'yii/bootstrap' : 'yii/bootstrap-responsive'; Yii::$app->getView()->registerAssetBundle($bundle); } }