Get up to 80 % extra points for free! More info:

Discussion: Dependency Injection Db class

In the previous quiz, Online PHP Quiz, we tested our experience gained from the course.

Activities
Avatar
Vincent Cifello:8/2/2022 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
8/2/2022 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.