]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Entity/Application.php
Add rapsys_user translate and languages config keys
[airbundle] / Entity / Application.php
index 2e8cca52177315e2eec06f0ad32bc1d0fcdb6116..af4d3a9054077551a6a48e2353e3544fa62c6ea3 100644 (file)
@@ -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
         *