protected function generateConfigurationMethod(
        RuntimeConfiguration $configuration
    ) {
        $this->typeCheck->generateConfigurationMethod(func_get_args());

        $method = new ConcreteMethod(
            new Identifier('configuration'),
            AccessModifier::PROTECTED_(),
            true
        );

        $method->statementBlock()->add(new ReturnStatement(
            $this->configurationGenerator()->generate($configuration)
        ));

        return $method;
    }
protected function generateConfigurationMethod(
        RuntimeConfiguration $configuration
    ) {
        $this->typeCheck->generateConfigurationMethod(func_get_args());

        $method = new ConcreteMethod(
            new Identifier('configuration'),
            AccessModifier::PROTECTED_(),
            true
        );

        $method->statementBlock()->add(new ReturnStatement(
            $this->configurationGenerator()->generate($configuration)
        ));

        return $method;
    }
@param RuntimeConfiguration $configuration

@return ConcreteMethod