mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-16 14:29:30 +08:00
typo [ci skip]
This commit is contained in:
@@ -120,7 +120,7 @@ By doing so, the person who wants to configure the `Foo` class no longer needs t
|
|||||||
### Method signature injection <span id="method-signature-injection"></span>
|
### Method signature injection <span id="method-signature-injection"></span>
|
||||||
|
|
||||||
Method signature injection is a special type of DI where dependecies are declared using the type hints of
|
Method signature injection is a special type of DI where dependecies are declared using the type hints of
|
||||||
method signatures and resolved in the runtime when the method is acturally called. It is particularly useful for keeping
|
method signature and resolved in the runtime when the method is acturally called. It is particularly useful for keeping
|
||||||
the MVC controllers slim and light-weighted since it doesn't require you to configure all the possible dependencies
|
the MVC controllers slim and light-weighted since it doesn't require you to configure all the possible dependencies
|
||||||
of the controller beforehand.
|
of the controller beforehand.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user