public function comment(string $comment = ''): Writer
    {
        $comment = trim($comment);

        if (!empty($comment)) {
            $comment = ' ' . $comment;
        }

        return $this->line(trim('#' . $comment));
    }
public function comment(string $comment = ''): Writer
    {
        $comment = trim($comment);

        if (!empty($comment)) {
            $comment = ' ' . $comment;
        }

        return $this->line(trim('#' . $comment));
    }
public function comment ( string $ comment = '' ) : Writer { $ comment = trim ( $ comment ) ; if ( ! empty ( $ comment ) ) { $ comment = ' ' . $ comment ; } return $ this -> line ( trim ( '#' . $ comment ) ) ; }
Add a comment to the output buffer.

@param  string $comment

@return Writer
Add a comment to the output buffer .