mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
@@ -22,6 +22,18 @@ class Event
|
||||
*/
|
||||
private $date;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var \Chill\MainBundle\Entity\Center
|
||||
*/
|
||||
private $center;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var EventType
|
||||
*/
|
||||
private $type;
|
||||
|
||||
/**
|
||||
* @var \Doctrine\Common\Collections\Collection
|
||||
*/
|
||||
@@ -77,7 +89,7 @@ class Event
|
||||
*
|
||||
* @return Event
|
||||
*/
|
||||
public function setDate($date)
|
||||
public function setDate(\DateTime $date)
|
||||
{
|
||||
$this->date = $date;
|
||||
|
||||
@@ -93,6 +105,42 @@ class Event
|
||||
{
|
||||
return $this->date;
|
||||
}
|
||||
|
||||
public function setCenter(\Chill\MainBundle\Entity\Center $center)
|
||||
{
|
||||
$this->center = $center;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @return EventType
|
||||
*/
|
||||
public function getType()
|
||||
{
|
||||
return $this->type;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param \Chill\EventBundle\Entity\EventType $type
|
||||
* @return \Chill\EventBundle\Entity\Event
|
||||
*/
|
||||
public function setType(EventType $type)
|
||||
{
|
||||
$this->type = $type;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @return \Chill\MainBundle\Entity\Center
|
||||
*/
|
||||
public function getCenter()
|
||||
{
|
||||
return $this->center;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add participation
|
||||
|
Reference in New Issue
Block a user