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