Request/ParamConverter/AbstractParamConverter.php
protected function getRequestAttributeName(Request $request, ParamConverter $configuration)
    {
        $param = $configuration->getName();
        if (array_key_exists('id', $configuration->getOptions())) {
            $param = $configuration->getOptions()['id'];
        }

        return $param;
    }
protected function getRequestAttributeName(Request $request, ParamConverter $configuration)
    {
        $param = $configuration->getName();
        if (array_key_exists('id', $configuration->getOptions())) {
            $param = $configuration->getOptions()['id'];
        }

        return $param;
    }
protected function getRequestAttributeName ( Request $ request , ParamConverter $ configuration ) { $ param = $ configuration -> getName ( ) ; if ( array_key_exists ( 'id' , $ configuration -> getOptions ( ) ) ) { $ param = $ configuration -> getOptions ( ) [ 'id' ] ; } return $ param ; }
@param Request        $request
@param ParamConverter $configuration

@return string
@param Request $request @param ParamConverter $configuration