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

            return $this->stream;
        }

        return $this->mergeStream($string, $this->stream);
    }