source/Core/Registry.php
protected static function getObject($className)
    {
        if (!isset(self::$instances[$className])) {
            self::$instances[$className] = self::createObject($className);
        }

        return self::$instances[$className];
    }
protected static function getObject($className)
    {
        if (!isset(self::$instances[$className])) {
            self::$instances[$className] = self::createObject($className);
        }

        return self::$instances[$className];
    }
protected static function getObject ( $ className ) { if ( ! isset ( self :: $ instances [ $ className ] ) ) { self :: $ instances [ $ className ] = self :: createObject ( $ className ) ; } return self :: $ instances [ $ className ] ; }
Return a well known object from the registry

@param string $className A unified namespace class name

@return mixed
Return a well known object from the registry