/** * Remove comment * * @param \Entities\Comment $comment */ public function removeComment(\Entities\Comment $comment) { $this->comments->removeElement($comment); }
/** * Remove comment * @param \AnujRNair\AnujNairBundle\Entity\Comment $comment */ public function removeComment(Comment $comment) { $this->comments->removeElement($comment); }
/** * @param Comment $comment */ public function removeComment(Comment $comment) { if ($this->comments->contains($comment)) { $this->comments->removeElement($comment); } }