NYCPHP Meetup

NYPHP.org

[nycphp-talk] OOP Newbie Building arrays in extended classes

David Mintz david at davidmintz.org
Tue Jan 29 09:34:42 EST 2013


This might be little more than a matter of style, but I would add that I
don't think Person's  __construct() should return a boolean. By definition
it returns an instance of the Person class, so you need not explicitly
return anything.


-- 
David Mintz
http://davidmintz.org/
Fight for social equality:
http://socialequality.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20130129/55e76919/attachment.html>


More information about the talk mailing list