Request/ParamConverter/ResolveEntityParamConverter.php
protected function resolveTargetEntity(ParamConverter $configuration)
    {
        $class = $configuration->getClass();
        if (isset($this->mapping[$class])) {
            if ($this->mapping[$class] !== $class) {
                $configuration->setClass($this->mapping[$class]);
            }
        }

        return $configuration;
    }
protected function resolveTargetEntity(ParamConverter $configuration)
    {
        $class = $configuration->getClass();
        if (isset($this->mapping[$class])) {
            if ($this->mapping[$class] !== $class) {
                $configuration->setClass($this->mapping[$class]);
            }
        }

        return $configuration;
    }
protected function resolveTargetEntity ( ParamConverter $ configuration ) { $ class = $ configuration -> getClass ( ) ; if ( isset ( $ this -> mapping [ $ class ] ) ) { if ( $ this -> mapping [ $ class ] !== $ class ) { $ configuration -> setClass ( $ this -> mapping [ $ class ] ) ; } } return $ configuration ; }
Resolves the target entity.

@param ParamConverter $configuration Contains the name, class and options of the object

@return ParamConverter
Resolves the target entity .