Ejemplo n.º 1
0
 /**
  * Remove comment
  *
  * @param \Entities\Comment $comment
  */
 public function removeComment(\Entities\Comment $comment)
 {
     $this->comments->removeElement($comment);
 }
Ejemplo n.º 2
0
 /**
  * Remove comment
  * @param \AnujRNair\AnujNairBundle\Entity\Comment $comment
  */
 public function removeComment(Comment $comment)
 {
     $this->comments->removeElement($comment);
 }
Ejemplo n.º 3
-1
 /**
  * @param Comment $comment
  */
 public function removeComment(Comment $comment)
 {
     if ($this->comments->contains($comment)) {
         $this->comments->removeElement($comment);
     }
 }