protected function getRealClass($className)
    {
        if (Version::compare('2.2.0') <= 0) {
            return ClassUtils::getRealClass($className);
        }

        if (substr($className, -5) === 'Proxy') {
            return substr($className, 0, -5);
        }

        return $className;
    }
protected function getRealClass($className)
    {
        if (Version::compare('2.2.0') <= 0) {
            return ClassUtils::getRealClass($className);
        }

        if (substr($className, -5) === 'Proxy') {
            return substr($className, 0, -5);
        }

        return $className;
    }
protected function getRealClass ( $ className ) { if ( Version :: compare ( '2.2.0' ) <= 0 ) { return ClassUtils :: getRealClass ( $ className ) ; } if ( substr ( $ className , - 5 ) === 'Proxy' ) { return substr ( $ className , 0 , - 5 ) ; } return $ className ; }
Get real class name of a reference that could be a proxy

@param string $className Class name of reference object

@return string
Get real class name of a reference that could be a proxy