On Wed, Sep 25, 2013 at 4:31 PM, Daevid Vincent <dae...@daevid.com> wrote:

> Then I randomly stumbled upon this PHPDoc  @ method tag and my whole world
> is brighter today than it has been for the past, oh let's say DECADE!

Yes, @method and @property are very handy. Out of curiosity, since you're
providing magic getters and setters, why not use __get and __set instead of
__call with matching on "get_xxx" and "set_xxx"? This would allow using the
simpler (and IMHO much more expressive and PHP-ish) forms

    $obj->foo = $obj->bar + 5;


Reply via email to