/** * Remove book * * @param \AppBundle\Entity\Book $book */ public function removeBook(Book $book) { $this->books->removeElement($book); }
/** * Remove bookComment * * @param \AppBundle\Entity\BookComment $bookComment */ public function removeBookComment(\AppBundle\Entity\BookComment $bookComment) { $this->bookComments->removeElement($bookComment); }