comment = $val; return $this; } public function getComment() : ?string { return $this->comment; } /** @return static */ public function addComment(string $val) : self { $this->comment .= $this->comment ? "\n{$val}" : $val; return $this; } }