protected function getRealClassName(ContainerBuilder $container, $classname)
    {
        return 0 === strpos($classname, '%') ? $container->getParameter(trim($classname, '%')) : $classname;
    }
protected function getRealClassName(ContainerBuilder $container, $classname)
    {
        return 0 === strpos($classname, '%') ? $container->getParameter(trim($classname, '%')) : $classname;
    }
protected function getRealClassName ( ContainerBuilder $ container , $ classname ) { return 0 === strpos ( $ classname , '%' ) ? $ container -> getParameter ( trim ( $ classname , '%' ) ) : $ classname ; }
Get the real class name.

@param ContainerBuilder $container The container
@param string           $classname The class name or the parameter name of classname

@return string
Get the real class name .