By piccoloprincipe
via phpmaster.com
Submitted: Feb 10 2012 / 04:15
Minimizing code duplication through better organization and code reuse is an important goal of Object Oriented Programming. But in PHP it can sometimes be difficult because of the limitations of the single inheritance model it uses; you might have some methods that you would like to use in multiple classes but they may not fit well into the inheritance hierarchy.



Add your comment