private function beforeClose()
    {
        if ($this->isWritable() && $this->lastLine !== '') {
            $this->stream->write("\r\n");
            $this->lastLine = '';
        }
    }
private function beforeClose()
    {
        if ($this->isWritable() && $this->lastLine !== '') {
            $this->stream->write("\r\n");
            $this->lastLine = '';
        }
    }
private function beforeClose ( ) { if ( $ this -> isWritable ( ) && $ this -> lastLine !== '' ) { $ this -> stream -> write ( "\r\n" ) ; $ this -> lastLine = '' ; } }
Writes out a final CRLF if the current line isn't empty.
Writes out a final CRLF if the current line isn t empty .