public static function initializeStreamWrapper($objectManager)
    {
        $streamWrapperClassNames = static::getStreamWrapperImplementationClassNames($objectManager);
        /** @var StreamWrapperInterface $streamWrapperClassName */
        foreach ($streamWrapperClassNames as $streamWrapperClassName) {
            $scheme = $streamWrapperClassName::getScheme();
            if (in_array($scheme, stream_get_wrappers())) {
                stream_wrapper_unregister($scheme);
            }
            stream_wrapper_register($scheme, StreamWrapperAdapter::class);
            static::registerStreamWrapper($scheme, $streamWrapperClassName);
        }
    }