mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-23 10:09:40 +08:00
Update structure-application-components.md
This commit is contained in:
@@ -34,7 +34,7 @@
|
|||||||
'password' => '',
|
'password' => '',
|
||||||
],
|
],
|
||||||
|
|
||||||
// регистрация "search" компонента с помошью анонимной функции
|
// регистрация "search" компонента с помощью анонимной функции
|
||||||
'search' => function () {
|
'search' => function () {
|
||||||
return new app\components\SolrService;
|
return new app\components\SolrService;
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user