src/Wrapper/StreamWrapper.php
private function getStreamByPathScheme($path)
    {
        $scheme = parse_url($path, PHP_URL_SCHEME);

        return $this->streamManager->getStream($scheme);
    }
private function getStreamByPathScheme($path)
    {
        $scheme = parse_url($path, PHP_URL_SCHEME);

        return $this->streamManager->getStream($scheme);
    }
private function getStreamByPathScheme ( $ path ) { $ scheme = parse_url ( $ path , PHP_URL_SCHEME ) ; return $ this -> streamManager -> getStream ( $ scheme ) ; }
Returns the stream instance by the uri scheme in path.

@param string $path

@return StreamInterface
Returns the stream instance by the uri scheme in path .