From 616b406a0c8677065a64b9b7ab5318f053baa8ed Mon Sep 17 00:00:00 2001 From: Alexander Makarov Date: Thu, 24 Oct 2013 02:06:35 +0400 Subject: [PATCH] fixes #979 --- framework/yii/web/AssetBundle.php | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/framework/yii/web/AssetBundle.php b/framework/yii/web/AssetBundle.php index 15ba3f6..5ea6f67 100644 --- a/framework/yii/web/AssetBundle.php +++ b/framework/yii/web/AssetBundle.php @@ -68,7 +68,16 @@ class AssetBundle extends Object */ public $baseUrl; /** - * @var array list of the bundle names that this bundle depends on + * @var array list of bundle class names that this bundle depends on. + * + * For example: + * + * ```php + * public $depends = [ + * 'yii\web\YiiAsset', + * 'yii\bootstrap\BootstrapAsset', + * ]; + * ``` */ public $depends = []; /**