public function addComment($val) { $this->comment .= $this->comment ? "\n{$val}" : $val; return $this; }