PHP Classes

this is going to be useful

Recommend this page to a friend!

      PHP Classes blog  >  How to Make Better Re...  >  All threads  >  this is going to be useful  >  (Un) Subscribe thread alerts  
Subject:this is going to be useful
Summary:there have been times I have needed something just like this
Messages:1
Author:David Mintz
Date:2015-08-19 00:09:01
Update:2015-08-19 01:35:54
 

  1. this is going to be useful   Reply   Report abuse  
Picture of David Mintz David Mintz - 2015-08-19 01:35:54
thanks for the article. I know there have been times when I wished for something like this, e.g., when there is a method that is useful and you'd like to have it in different classes, but you don't want to extend a common parent, but you also don't want to use composition because it's overkill, or static methods because it doesn't seem a good enough reason to make it static and/or the method needs $this.