protected static function resolveFacadeInstance($name)
    {
        if (is_object($name)) {
            return $name;
        }

        if (isset(self::$resolvedInstance[$name])) {
            return self::$resolvedInstance[$name];
        }

        return self::$resolvedInstance[$name] = static::$di->getShared($name);
    }
protected static function resolveFacadeInstance($name)
    {
        if (is_object($name)) {
            return $name;
        }

        if (isset(self::$resolvedInstance[$name])) {
            return self::$resolvedInstance[$name];
        }

        return self::$resolvedInstance[$name] = static::$di->getShared($name);
    }
protected static function resolveFacadeInstance ( $ name ) { if ( is_object ( $ name ) ) { return $ name ; } if ( isset ( self :: $ resolvedInstance [ $ name ] ) ) { return self :: $ resolvedInstance [ $ name ] ; } return self :: $ resolvedInstance [ $ name ] = static :: $ di -> getShared ( $ name ) ; }
Resolve the facade root instance from the container.

@param  string|object $name

@return mixed
@throws RuntimeException
Resolve the facade root instance from the container .