It's not always bad to make a class require another, but it strongly depends on what your goal is. In this example, I show you a good way to use composition in PHP Object Oriented Design (OOD). Inheritance is not the life-blood of OOP, yes it has it's uses. However, it's better to favor composition over inheritance.
#
2012/05/01
Read More
Source: www.youtube.com

