*/ protected $comments = []; /** * @param list $comments */ public function addComments(array $comments): void { $this->comments = \array_merge($this->comments, $comments); } /** * @return list */ public function getComments(): array { return $this->comments; } /** * @param list $comments */ public function setComments(array $comments): void { $this->comments = $comments; } }