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