/** * Remove favorite * * @param \AppBundle\Entity\Decklist $favorite */ public function removeFavorite(\AppBundle\Entity\Decklist $favorite) { $favorite->removeFavorite($this); $this->favorites->removeElement($favorite); }
/** * Remove favorite * * @param \AppBundle\Entity\Decklist $favorite */ public function removeFavorite(\AppBundle\Entity\Decklist $favorite) { $favorite->removeFavorite($this); $this->favorites->removeElement($favorite); }