Merge pull request #16 from lisgroup/patch-3

Update structure-applications.md
This commit is contained in:
cuiliang
2017-09-15 20:35:30 +08:00
committed by GitHub

View File

@ -129,7 +129,7 @@ $config = require(__DIR__ . '/../config/web.php');
'level' => 3, 'level' => 3,
], ],
// 无名称函数        // 匿名函数
function () { function () {
return new app\components\Profiler(); return new app\components\Profiler();
} }
@ -192,7 +192,7 @@ if (YII_ENV_DEV) {
] ]
``` ```
> Info: Debug panel on development environment will not work when this property is enabled. > Info: 当开启这个属性时,开发环境下的调试面板将不能工作。
#### [[yii\base\Application::components|components]] <span id="components"></span> #### [[yii\base\Application::components|components]] <span id="components"></span>