Is it possible to get the methods of an implemented interface?
For example, to return only function bar() that is in interface.
interface iFoo
{
public function bar();
}
class Foo implements iFoo
{
public function bar()
{
...
}
public function fooBar()
{
...
}
}
I know I can use class_implements to return the implemented interfaces, for example
print_r(class_implements('Foo'));
output:
Array ( [iFoo] => iFoo )
How do I get the methods of the implemented interfaces?