4 ms·
You'd think after five years in php I would have picked up on that nifty method to chain methods together. (referring to : function Obj($methods=array()) ) A
by jbm 16y ago
You'd think after five years in php I would have picked up on that nifty method to chain methods together.
(referring to :
function Obj($methods=array())
)
Awesome hack dude.
- dhotson 16y agoThanks. :-) Although, usually I go for a static create() method instead of a function. Oh man, I really wish they'd make constructors chainable. :-(