コード例 #1
0
ファイル: Group.php プロジェクト: skycri/MyAbos
 /**
  * Constructor
  */
 public function __construct($name, $roles)
 {
     parent::__construct($name, $roles);
     $this->users = new ArrayCollection();
 }
コード例 #2
0
ファイル: Group.php プロジェクト: Id2iDev/FrameworkSf2
 /**
  * Constructor
  */
 public function __construct($name, $roles = array())
 {
     parent::__construct($name, $roles);
     $this->droits = new \Doctrine\Common\Collections\ArrayCollection();
 }
コード例 #3
0
ファイル: Group.php プロジェクト: teraelis/forum
 /**
  * Constructor
  */
 public function __construct($name, $roles)
 {
     parent::__construct($name, $roles);
     $this->userRoles = new \Doctrine\Common\Collections\ArrayCollection();
     $this->permission = new \Doctrine\Common\Collections\ArrayCollection();
 }
コード例 #4
0
ファイル: Group.php プロジェクト: Onneil/dedipanel
 public function __construct($name = '', $roles = array())
 {
     parent::__construct($name, $roles);
     $this->children = new ArrayCollection();
     $this->users = new ArrayCollection();
 }
コード例 #5
0
ファイル: Group.php プロジェクト: timy-life/symfony-workshop
 public function __construct($name = null, $roles = array())
 {
     parent::__construct($name, $roles);
 }