Skip to content

[appserver-io/doppelgaenger] Endless recursion on parent::<METHOD> call #811

Closed
@wick-ed

Description

@wick-ed

A constellation such as:

class A {
    public function test(){}
}


class B extends A {
    public function test(){
        parent::test();    
    }
}

does result in an endless recursion as method proxies are prone to the override mechanism.
Therefor the parent original implementation never gets called as the parent proxy does call the child original method instead.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions