mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-06 14:19:23 +08:00
Fixed a/an grammar mistake (#16302) [skip ci]
This commit is contained in:
@ -58,7 +58,7 @@ If it is not accessed at all during a request, it will not be instantiated. Some
|
||||
to instantiate an application component for every request, even if it is not explicitly accessed.
|
||||
To do so, you may list its ID in the [[yii\base\Application::bootstrap|bootstrap]] property of the application.
|
||||
|
||||
You can also use Closures to bootstrap customized components. Returning a instantiated component is not
|
||||
You can also use Closures to bootstrap customized components. Returning an instantiated component is not
|
||||
required. A Closure can also be used simply for running code after [[yii\base\Application]] instantiation.
|
||||
|
||||
For example, the following application configuration makes sure the `log` component is always loaded:
|
||||
|
Reference in New Issue
Block a user