public function addComment(\juzz\CommentsBundle\Entity\Comentarios $comment) { if (!$this->comments->contains($comment)) { $this->comments->add($comment); } return $this; }