Browse Source

Fixed a/an grammar mistake (#16302) [skip ci]

tags/2.0.16
Pavlo 6 years ago committed by Alexander Makarov
parent
commit
624a520023
  1. 2
      docs/guide/structure-application-components.md

2
docs/guide/structure-application-components.md

@ -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:

Loading…
Cancel
Save