Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wick-ed opened this issue May 15, 2015 · 1 comment
Closed
Assignees
Labels

Comments

@wick-ed
Copy link
Member

wick-ed commented May 15, 2015

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.

@wick-ed wick-ed added the bug label May 15, 2015
@wick-ed wick-ed self-assigned this May 15, 2015
@wick-ed wick-ed added this to the Release 1.1.0 "Iron Knight" milestone May 15, 2015
@wick-ed
Copy link
Member Author

wick-ed commented May 15, 2015

Closed as of this release

@wick-ed wick-ed closed this as completed May 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant