Beispiel #1
0
 /**
  * Constructor
  */
 public function __construct($name, $roles)
 {
     parent::__construct($name, $roles);
     $this->users = new ArrayCollection();
 }
Beispiel #2
0
 /**
  * Constructor
  */
 public function __construct($name, $roles = array())
 {
     parent::__construct($name, $roles);
     $this->droits = new \Doctrine\Common\Collections\ArrayCollection();
 }
Beispiel #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();
 }
Beispiel #4
0
 public function __construct($name = '', $roles = array())
 {
     parent::__construct($name, $roles);
     $this->children = new ArrayCollection();
     $this->users = new ArrayCollection();
 }
Beispiel #5
0
 public function __construct($name = null, $roles = array())
 {
     parent::__construct($name, $roles);
 }