We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d153f3b commit 5dfd111Copy full SHA for 5dfd111
1 file changed
docs/book/v5/core-features/dependency-injection.md
@@ -15,7 +15,7 @@ DotKernel API comes out of the box with
15
[dot-dependency-injection](https://github.com/dotkernel/dot-dependency-injection) package, which provide all we need for
16
injecting dependencies in any object you want.
17
18
-`dot-dependency-injection` determines the dependencies by looking at the `#[Inject]` attribute,
+`dot-dependency-injection` determines the dependencies by looking at the `#[Inject]` attribute, added to the constructor
19
added to the constructor of a class. Dependencies are specified as separate parameters of the `#[Inject]` attribute.
20
21
For our example we will inject a `UserService` and `config` dependencies in a `UseHandler`.
0 commit comments