3 namespace Rapsys\UserBundle\Entity
; 
  30          * @var \Doctrine\Common\Collections\Collection 
  37         public function __construct() { 
  38                 $this->users 
= new \Doctrine\Common\Collections\
ArrayCollection(); 
  46         public function getId() { 
  53          * @param string $title 
  57         public function setTitle($title) { 
  58                 $this->title 
= $title; 
  68         public function getTitle() { 
  75          * @param \DateTime $created 
  79         public function setCreated($created) { 
  80                 $this->created 
= $created; 
  90         public function getCreated() { 
  91                 return $this->created
; 
  97          * @param \DateTime $updated 
 101         public function setUpdated($updated) { 
 102                 $this->updated 
= $updated; 
 112         public function getUpdated() { 
 113                 return $this->updated
; 
 119          * @param \Rapsys\UserBundle\Entity\User $user 
 123         public function addUser(\Rapsys\UserBundle\Entity\User 
$user) { 
 124                 $this->users
[] = $user; 
 132          * @param \Rapsys\UserBundle\Entity\User $user 
 134         public function removeUser(\Rapsys\UserBundle\Entity\User 
$user) { 
 135                 $this->users
->removeElement($user); 
 141          * @return \Doctrine\Common\Collections\Collection 
 143         public function getUsers() { 
 148          * Returns a string representation of the title 
 152         public function __toString(): string {