mirror of
https://github.com/yiisoft/yii2.git
synced 2025-12-01 15:07:49 +08:00
@@ -140,7 +140,7 @@ For example,
|
||||
> Info: If a module ID is the same as an application component ID, the application component will be used during
|
||||
the bootstrapping process. If you want to use the module instead, you may specify it using an anonymous function
|
||||
like the following:
|
||||
>```php
|
||||
> ```php
|
||||
[
|
||||
function () {
|
||||
return Yii::$app->getModule('user');
|
||||
|
||||
Reference in New Issue
Block a user