Thanks to visit codestin.com
Credit goes to github.com

Skip to content

New tag for bulk @method / @property  #1543

@thattomperson

Description

@thattomperson

can we add a way to add methods from a class that is not extended

example

/**
 * @inhert-methods Parent
 */
class Child {
    protected $parent;

    public function __class($name, $arguments) {
        return call_user_func_array([$this->parent, $name], $arguments);
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Closed

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions