src/bitExpert/Disco/Proxy/Configuration/MethodGenerator/BeanPostProcessorMethod.php
public static function generateMethod(
        MethodReflection $originalMethod,
        BeanPostProcessor $beanPostProcessorMetadata,
        GetParameter $parameterValuesMethod
    ): MethodGenerator {
        $method = static::fromReflection($originalMethod);

        $methodParams = static::convertMethodParamsToString(
            $beanPostProcessorMetadata->getParameters(),
            $parameterValuesMethod
        );
        $beanId = $originalMethod->name;
        $body = 'return parent::' . $beanId . '(' . $methodParams . ');' . PHP_EOL;

        $method->setBody($body);
        $method->setDocBlock('{@inheritDoc}');
        return $method;
    }
public static function generateMethod(
        MethodReflection $originalMethod,
        BeanPostProcessor $beanPostProcessorMetadata,
        GetParameter $parameterValuesMethod
    ): MethodGenerator {
        $method = static::fromReflection($originalMethod);

        $methodParams = static::convertMethodParamsToString(
            $beanPostProcessorMetadata->getParameters(),
            $parameterValuesMethod
        );
        $beanId = $originalMethod->name;
        $body = 'return parent::' . $beanId . '(' . $methodParams . ');' . PHP_EOL;

        $method->setBody($body);
        $method->setDocBlock('{@inheritDoc}');
        return $method;
    }
Creates a new {@link \bitExpert\Disco\Proxy\Configuration\MethodGenerator\BeanPostProcessorMethod}.

@param MethodReflection $originalMethod
@param BeanPostProcessor $beanPostProcessorMetadata
@param GetParameter $parameterValuesMethod
@return MethodGenerator
@throws \Zend\Code\Generator\Exception\InvalidArgumentException