mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
@@ -34,6 +34,12 @@ class Event
|
||||
*/
|
||||
private $type;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var \Chill\MainBundle\Entity\Scope
|
||||
*/
|
||||
private $circle;
|
||||
|
||||
/**
|
||||
* @var \Doctrine\Common\Collections\Collection
|
||||
*/
|
||||
@@ -141,7 +147,38 @@ class Event
|
||||
{
|
||||
return $this->center;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @return \Chill\MainBundle\Entity\Scope
|
||||
*/
|
||||
public function getCircle()
|
||||
{
|
||||
return $this->circle;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param \Chill\MainBundle\Entity\Scope $circle
|
||||
* @return \Chill\EventBundle\Entity\Event
|
||||
*/
|
||||
public function setCircle(\Chill\MainBundle\Entity\Scope $circle)
|
||||
{
|
||||
$this->circle = $circle;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @deprecated
|
||||
* @return \Chill\MainBundle\Entity\Scope
|
||||
*/
|
||||
public function getScope()
|
||||
{
|
||||
return $this->getCircle();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Add participation
|
||||
*
|
||||
|
Reference in New Issue
Block a user