Go\Proxy\ClassProxy::overrideMethod PHP Method

overrideMethod() protected method

Override parent method with joinpoint invocation
protected overrideMethod ( ReflectionMethod $method )
$method ReflectionMethod Method reflection
    protected function overrideMethod(ReflectionMethod $method)
    {
        // temporary disable override of final methods
        if (!$method->isFinal() && !$method->isAbstract()) {
            $this->override($method->name, $this->getJoinpointInvocationBody($method));
        }
    }