mirror of
https://github.com/codeguy/php-the-right-way.git
synced 2025-08-16 10:43:58 +02:00
Fix DI typo
This commit is contained in:
@@ -4,7 +4,7 @@ isChild: true
|
||||
|
||||
## Basic Concept {#basic_concept_title}
|
||||
|
||||
We can demonstrate the concept with a simple, yet naive.
|
||||
We can demonstrate the concept with a simple, yet naive example.
|
||||
|
||||
Here we have a `Database` class that requires an adapter to speak to the database. We instantiate the
|
||||
adapter in the constructor and create a hard dependency. This makes testing difficult and means the `Database` class is
|
||||
|
Reference in New Issue
Block a user