CODE:

<? class A { function foo() } class B extends A {}    $b = new B(); $b->| ?>

COMPLETIONS:

[METHOD_DECLARATION]{completion:foo(), declSign:, declKey:, key:, name:foo, [72,72], relevance=1000000}
