* @license MIT */ class MethodGenerator extends ZendMethodGenerator { /** * {@inheritDoc} */ public static function fromReflectionWithoutBodyAndDocBlock(MethodReflection $reflectionMethod) : self { /* @var $method self */ $method = parent::copyMethodSignature($reflectionMethod); $method->setInterface(false); return $method; } }