[PSR-5] @method Pointers

69 views
Skip to first unread message

Bradley Jones

unread,
Dec 20, 2016, 6:00:16 PM12/20/16
to PHP Framework Interoperability Group
Hi All,

I originally had this idea when working with PHP Integrator, an Atom based static analysis & auto-completion package.


I won't bother regurgitating what is already written in the above github issue.

Very interested to hear any feedback.

Kind Regards,

Brad

Christopher Pitt

unread,
Dec 20, 2016, 6:46:52 PM12/20/16
to PHP Framework Interoperability Group
It's an interesting idea, but I've always understood @method to be an inherited thing. So that "extends \X\Y" or "@mixin \X\Y" indicate where to find inherited methods, and @method/@mixin applied to the parent also applies to the child.

Bradley Jones

unread,
Dec 20, 2016, 7:17:17 PM12/20/16
to PHP Framework Interoperability Group
Reply all
Reply to author
Forward
0 new messages