public function unregisterStream($protocol)
    {
        if (isset(self::$streams[$protocol])) {
            $result = stream_wrapper_unregister($protocol);
            if ($result === true) {
                unset(self::$streams[$protocol]);
            }
        }

        return $this;
    }
public function unregisterStream($protocol)
    {
        if (isset(self::$streams[$protocol])) {
            $result = stream_wrapper_unregister($protocol);
            if ($result === true) {
                unset(self::$streams[$protocol]);
            }
        }

        return $this;
    }
public function unregisterStream ( $ protocol ) { if ( isset ( self :: $ streams [ $ protocol ] ) ) { $ result = stream_wrapper_unregister ( $ protocol ) ; if ( $ result === true ) { unset ( self :: $ streams [ $ protocol ] ) ; } } return $ this ; }
Unregisters a stream instance by protocol.

@param string $protocol

@return self
Unregisters a stream instance by protocol .