src/Viserio/Component/StaticalProxy/StaticalProxy.php
protected static function resolveStaticalProxyInstance($name): object
    {
        if (\is_object($name)) {
            return $name;
        }

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

        return static::$resolvedInstance[$name] = static::$container->get($name);
    }
protected static function resolveStaticalProxyInstance($name): object
    {
        if (\is_object($name)) {
            return $name;
        }

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

        return static::$resolvedInstance[$name] = static::$container->get($name);
    }
Resolve the statical proxy root instance from the app.

@param object|string $name

@return object