Fix DI typo

This commit is contained in:
Josh Lockhart
2013-11-29 11:57:23 -05:00
parent 3cb8aea787
commit cd130fcb20

View File

@@ -46,6 +46,6 @@ class Database
class MysqlAdapter {}
{% endhighlight %}
Now we are giving the `Database` class it's dependency rather than it creating it itself. We could even create a method
Now we are giving the `Database` class its dependency rather than it creating it itself. We could even create a method
that would accept an argument of the dependency and set it that way, or if the `$adapter` property was `public` we could
set it directly.