add fixtures for events

fix #17
This commit is contained in:
2016-03-22 09:59:00 +01:00
parent 9512528018
commit d7fc04cdaa
6 changed files with 278 additions and 21 deletions

View File

@@ -21,7 +21,25 @@ class EventType
* @var boolean
*/
private $active;
/**
* @var \Doctrine\Common\Collections\Collection
*/
private $roles;
/**
* @var \Doctrine\Common\Collections\Collection
*/
private $statuses;
/**
* Constructor
*/
public function __construct()
{
$this->roles = new \Doctrine\Common\Collections\ArrayCollection();
$this->statuses = new \Doctrine\Common\Collections\ArrayCollection();
}
/**
* Get id
@@ -80,24 +98,6 @@ class EventType
{
return $this->active;
}
/**
* @var \Doctrine\Common\Collections\Collection
*/
private $roles;
/**
* @var \Doctrine\Common\Collections\Collection
*/
private $statuses;
/**
* Constructor
*/
public function __construct()
{
$this->roles = new \Doctrine\Common\Collections\ArrayCollection();
$this->statuses = new \Doctrine\Common\Collections\ArrayCollection();
}
/**
* Add role