Nette\Reflection\Method::getPrototype PHP Method

getPrototype() public method

public getPrototype ( ) : self
return self
    public function getPrototype()
    {
        $prototype = parent::getPrototype();
        return new static($prototype->getDeclaringClass()->getName(), $prototype->getName());
    }