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

Add support for proxying parent::method #2

@eddawley

Description

@eddawley

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions