Exemplo n.º 1
0
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct();
     $this->roles = new \Doctrine\Common\Collections\ArrayCollection();
     $this->galleryHasMedia = new \Doctrine\Common\Collections\ArrayCollection();
 }
Exemplo n.º 2
0
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct();
     $this->posts = new \Doctrine\Common\Collections\ArrayCollection();
 }