Get up to 50 % extra points for free! More info
Save up to 80 % on our PHP e-learning courses. Only this week!
discount week 50

Discussion: Dependency Injection Db class

Activities
Avatar
Vincent Cifello:2. August 21:56

David,
Thank you for the excellent MVC article.

In the Database Wrapper Section, you indicated that the static class would best be implemented with Dependency Injection.

Would you provide some instruction on what that might look like?

Thanks in advance.

 
Reply
2. August 21:56
To maintain the quality of discussion, we only allow registered members to comment. Sign in. If you're new, Sign up, it's free.

1 messages from 1 displayed.