grom358 / pharborist

A PHP library to query and transform source code via tree operations.
GNU General Public License v3.0
44 stars 10 forks source link

We need InterfaceNode::getMethods() #222

Closed phenaproxima closed 9 years ago

phenaproxima commented 9 years ago

There's no way to iterate through the methods defined by an interface! This is pretty essential.

phenaproxima commented 9 years ago

I'm willing to take this on but I'm not sure how interfaces are handled by the parser. It looks like they create InterfaceMethodNodes for each method of the interface, but there's also InterfaceStatementNode, whose purpose is unclear.

grom358 commented 9 years ago

Added to master