private function findResolveTarget(ContainerBuilder $container, $class)
    {
        $resolveTargets = $this->getResolveTargets($container);

        if (isset($resolveTargets[$class])) {
            $class = $resolveTargets[$class];
        }

        return $class;
    }
private function findResolveTarget(ContainerBuilder $container, $class)
    {
        $resolveTargets = $this->getResolveTargets($container);

        if (isset($resolveTargets[$class])) {
            $class = $resolveTargets[$class];
        }

        return $class;
    }
private function findResolveTarget ( ContainerBuilder $ container , $ class ) { $ resolveTargets = $ this -> getResolveTargets ( $ container ) ; if ( isset ( $ resolveTargets [ $ class ] ) ) { $ class = $ resolveTargets [ $ class ] ; } return $ class ; }
Find the resolve target of class.

@param ContainerBuilder $container The container
@param string           $class     The class name

@return string
Find the resolve target of class .