class Foo extends Bar { --------- public function test(parent $o) } --------- }
private function parseFormalParameterAndParentTypeHint() { $reference = $this->parseParentType(); $parameter = $this->parseFormalParameterOrByReference(); $parameter->prependChild($reference); return $parameter; }