From 8bda7e198de0ed76268be5c51b24ed9eeb6af54b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Mon, 28 Dec 2020 08:32:41 +0100 Subject: [PATCH] Remove vote feature --- Entity/Application.php | 43 ------------------------------------------ 1 file changed, 43 deletions(-) diff --git a/Entity/Application.php b/Entity/Application.php index 2e8cca5..af4d3a9 100644 --- a/Entity/Application.php +++ b/Entity/Application.php @@ -31,11 +31,6 @@ class Application { */ private $updated; - /** - * @var \Doctrine\Common\Collections\Collection - */ - private $votes; - /** * @var \Rapsys\AirBundle\Entity\Session */ @@ -46,13 +41,6 @@ class Application { */ private $user; - /** - * Constructor - */ - public function __construct() { - $this->votes = new \Doctrine\Common\Collections\ArrayCollection(); - } - /** * Get id * @@ -150,37 +138,6 @@ class Application { return $this->updated; } - /** - * Add vote - * - * @param \Rapsys\AirBundle\Entity\Vote $vote - * - * @return Application - */ - public function addVote(\Rapsys\AirBundle\Entity\Vote $vote) { - $this->votes[] = $vote; - - return $this; - } - - /** - * Remove vote - * - * @param \Rapsys\AirBundle\Entity\Vote $vote - */ - public function removeVote(\Rapsys\AirBundle\Entity\Vote $vote) { - $this->votes->removeElement($vote); - } - - /** - * Get votes - * - * @return \Doctrine\Common\Collections\Collection - */ - public function getVotes() { - return $this->votes; - } - /** * Set session * -- 2.41.1