public function toStream($string)
    {
        if (! $this->hash) {
            fwrite($this->stream, $string);

            return $this->stream;
        }

        return $this->mergeStream($string, $this->stream);
    }
public function toStream($string)
    {
        if (! $this->hash) {
            fwrite($this->stream, $string);

            return $this->stream;
        }

        return $this->mergeStream($string, $this->stream);
    }
public function toStream ( $ string ) { if ( ! $ this -> hash ) { fwrite ( $ this -> stream , $ string ) ; return $ this -> stream ; } return $ this -> mergeStream ( $ string , $ this -> stream ) ; }
Covert string + stream holder to stream

@param string $string

@return resource
Covert string + stream holder to stream