protected function createStreamWrapper($path)
    {
        if ($this->streamWrapper === null) {
            $explodedPath = explode(':', $path, 2);
            $scheme = array_shift($explodedPath);
            $registeredStreamWrappers = self::$registeredStreamWrappers;
            $registeredStreamWrapperForScheme = $registeredStreamWrappers[$scheme];
            $this->streamWrapper = new $registeredStreamWrapperForScheme();
        }
    }
protected function createStreamWrapper($path)
    {
        if ($this->streamWrapper === null) {
            $explodedPath = explode(':', $path, 2);
            $scheme = array_shift($explodedPath);
            $registeredStreamWrappers = self::$registeredStreamWrappers;
            $registeredStreamWrapperForScheme = $registeredStreamWrappers[$scheme];
            $this->streamWrapper = new $registeredStreamWrapperForScheme();
        }
    }
protected function createStreamWrapper ( $ path ) { if ( $ this -> streamWrapper === null ) { $ explodedPath = explode ( ':' , $ path , 2 ) ; $ scheme = array_shift ( $ explodedPath ) ; $ registeredStreamWrappers = self :: $ registeredStreamWrappers ; $ registeredStreamWrapperForScheme = $ registeredStreamWrappers [ $ scheme ] ; $ this -> streamWrapper = new $ registeredStreamWrapperForScheme ( ) ; } }
Create the internal stream wrapper if needed.

@param string $path The path to fetch the scheme from.
@return void
Create the internal stream wrapper if needed .