public function addComment(\Domain\Entities\Comment $comment)
 {
     $this->__load();
     return parent::addComment($comment);
 }
Exemplo n.º 2
0
 public function setPost(Post $post)
 {
     $post->addComment($this);
     $this->post = $post;
 }