How to indicate that method is a part of interface with PHPDoc?
How to indicate that method is a part of interface with PHPDoc? For example: /** * @implements BarInterface */ class Foo implements BarInterface { /** * @thisMethodIsHereBecauseItIsAPartOf("BarInterface") */ public function doBar() { } } Is there anything appropriate to replace @thisMethodIsHereBecauseItIsAPartOf("BarInterface") with? How to indicate that method is a part of interface with PHPDoc? You do not need to document that, because you use implements BarInterface and a source-code documentation system normally handles these automatically. However you can also use @inherit(doc) : /** *