Exemple #1
0
 /**
  * Constructor
  */
 public function __construct($name, $roles)
 {
     parent::__construct($name, $roles);
     $this->users = new ArrayCollection();
 }
Exemple #2
0
 /**
  * Constructor
  */
 public function __construct($name, $roles = array())
 {
     parent::__construct($name, $roles);
     $this->droits = new \Doctrine\Common\Collections\ArrayCollection();
 }
Exemple #3
0
 /**
  * Constructor
  */
 public function __construct($name, $roles)
 {
     parent::__construct($name, $roles);
     $this->userRoles = new \Doctrine\Common\Collections\ArrayCollection();
     $this->permission = new \Doctrine\Common\Collections\ArrayCollection();
 }
Exemple #4
0
 public function __construct($name = '', $roles = array())
 {
     parent::__construct($name, $roles);
     $this->children = new ArrayCollection();
     $this->users = new ArrayCollection();
 }
Exemple #5
0
 public function __construct($name = null, $roles = array())
 {
     parent::__construct($name, $roles);
 }