3 namespace Rapsys\AirBundle\Entity
;
25 * @var \Doctrine\Common\Collections\Collection
30 * @var \Rapsys\AirBundle\Entity\Session
35 * @var \Rapsys\AirBundle\Entity\User
42 public function __construct() {
43 $this->votes
= new \Doctrine\Common\Collections\
ArrayCollection();
51 public function getId() {
58 * @param \DateTime $created
62 public function setCreated($created) {
63 $this->created
= $created;
73 public function getCreated() {
74 return $this->created
;
80 * @param \DateTime $updated
84 public function setUpdated($updated) {
85 $this->updated
= $updated;
95 public function getUpdated() {
96 return $this->updated
;
102 * @param \Rapsys\AirBundle\Entity\Vote $vote
104 * @return Application
106 public function addVote(\Rapsys\AirBundle\Entity\Vote
$vote) {
107 $this->votes
[] = $vote;
115 * @param \Rapsys\AirBundle\Entity\Vote $vote
117 public function removeVote(\Rapsys\AirBundle\Entity\Vote
$vote) {
118 $this->votes
->removeElement($vote);
124 * @return \Doctrine\Common\Collections\Collection
126 public function getVotes() {
133 * @param \Rapsys\AirBundle\Entity\Session $session
135 * @return Application
137 public function setSession(\Rapsys\AirBundle\Entity\Session
$session = null) {
138 $this->session
= $session;
146 * @return \Rapsys\AirBundle\Entity\Session
148 public function getSession() {
149 return $this->session
;
155 * @param \Rapsys\AirBundle\Entity\User $user
157 * @return Application
159 public function setUser(\Rapsys\AirBundle\Entity\User
$user = null) {
168 * @return \Rapsys\AirBundle\Entity\User
170 public function getUser() {