NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Code insight for overriden class methods


Joined: 15 Jun 2009
Posts: 1
Reply with quote
Is there any way to get phpEd to recognize "inherited" phpDoc documentation from a superclass for an overriden method? i.e.:

Code:
abstract class TestA {
   /**
   * Does... uh... something.
   *
   * @param mixed $a Foo argument.
   */
   public abstract function foo($a);
}

class TestB extends TestA {   
   public function foo($a) {
   }   
}
$x = new TestB();
$x->foo(0)

When you type $x->foo( you get the code insight tooltip but it doesn't seem to recognize that foo() is documented in the superclass. phpDocumentor itself does automatically inherit documentation from superclasses (as documented here) and it also supports an {@inheritdoc} tag, but phpEd doesn't seem to support either... or did I miss something? This'd be hugely useful to avoid having to repeat method documentation over and over, and maintain it in multiple locations every time something changes.
View user's profileFind all posts by sbbaoSend private message
Veteran

Joined: 22 May 2008
Posts: 141
Reply with quote
+1
View user's profileFind all posts by simshaunSend private message
Code insight for overriden class methods
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic