3 namespace Rapsys\UserBundle\Entity
;
35 * @var \Doctrine\Common\Collections\Collection
42 public function __construct() {
43 $this->users
= new \Doctrine\Common\Collections\
ArrayCollection();
51 public function getId() {
58 * @param string $short
62 public function setShort($short) {
63 $this->short
= $short;
73 public function getShort() {
80 * @param string $title
84 public function setTitle($title) {
85 $this->title
= $title;
95 public function getTitle() {
102 * @param \DateTime $created
106 public function setCreated($created) {
107 $this->created
= $created;
117 public function getCreated() {
118 return $this->created
;
124 * @param \DateTime $updated
128 public function setUpdated($updated) {
129 $this->updated
= $updated;
139 public function getUpdated() {
140 return $this->updated
;
146 * @param \Rapsys\UserBundle\Entity\User $user
150 public function addUser(\Rapsys\UserBundle\Entity\User
$user) {
151 $this->users
[] = $user;
159 * @param \Rapsys\UserBundle\Entity\User $user
161 public function removeUser(\Rapsys\UserBundle\Entity\User
$user) {
162 $this->users
->removeElement($user);
168 * @return \Doctrine\Common\Collections\Collection
170 public function getUsers() {