Skip to content

Commit e3c8b1e

Browse files
authored
Update dependency-injection.md
1 parent a6124d8 commit e3c8b1e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/book/v5/core-features/dependency-injection.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33
Dependency injection is a design pattern used in software development to implement inversion of control or in simple
44
terms is the act of providing dependencies for an object during instantiation.
55

6-
In PHP, dependency injection can be implemented in various ways, including through constructor injection, setter
6+
In PHP, dependency injection can be implemented in various ways, including through **constructor** injection, setter
77
injection, and property injection.
88

99
DotKernel API, through it's [dot-dependency-injection](https://github.com/dotkernel/dot-dependency-injection) package
1010
focuses only on constructor injection.
1111

1212
## Usage
1313

14-
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
14+
**DotKernel API** comes out of the box with
15+
[dot-dependency-injection](https://github.com/dotkernel/dot-dependency-injection) package, which provides all we need for
1616
injecting dependencies in any object you want.
1717

1818
`dot-dependency-injection` determines the dependencies by looking at the `#[Inject]` attribute, added to the constructor

0 commit comments

Comments
 (0)