News for hackers. Stuff that matters.
Re:Show HN: PHP does Meta Programming too by dmoney on Wednesday August 31, 2011 @07:26AM (#2945099)
Thanks! Didn't know about traits [ http://php.net/manual/en/language.oop5.traits.php ].
Re:Show HN: PHP does Meta Programming too by dave1010uk on Wednesday August 31, 2011 @07:42AM (#2945129)
I've started collecting some useful methods from classes and am turning them into traits. You can see the work-in-progress here: https://github.com/dave1010/php-traits