Skip to content
This repository was archived by the owner on Mar 7, 2019. It is now read-only.

Add support for proxying parent::method #2

Open
eddawley opened this issue Jan 22, 2014 · 0 comments
Open

Add support for proxying parent::method #2

eddawley opened this issue Jan 22, 2014 · 0 comments

Comments

@eddawley
Copy link
Contributor

It would be nice if Classy would support setting proxies on calls to parent methods from a child.

For example:

class Ancestor {
  public function foo() {
  }
}

class Child extends Ancestor {
    public function bar() {
       parent::foo();
    }
}

This should be possible by checking both static::__classy_hasProxy and self::__classy_hasProxy.

Also, we need to add some unit tests for this stuff.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant