public function stream_open($path, $mode, $options, &$opened_path)
    {
        if (!isset(self::$uris[$path])) {
            return false;
        }

        $this->stream = self::$uris[$path];
        $this->mode = $mode;

        $this->stream->rewind();

        return true;
    }
public function stream_open($path, $mode, $options, &$opened_path)
    {
        if (!isset(self::$uris[$path])) {
            return false;
        }

        $this->stream = self::$uris[$path];
        $this->mode = $mode;

        $this->stream->rewind();

        return true;
    }
public function stream_open ( $ path , $ mode , $ options , & $ opened_path ) { if ( ! isset ( self :: $ uris [ $ path ] ) ) { return false ; } $ this -> stream = self :: $ uris [ $ path ] ; $ this -> mode = $ mode ; $ this -> stream -> rewind ( ) ; return true ; }
Open pre-mocked StreamInterface by it's unique uri.

@param string  $path
@param int     $mode
@param int     $options
@param string &$opened_path
@return bool
Open pre - mocked StreamInterface by it s unique uri .