/** * Constructor */ public function __construct() { parent::__construct(); $this->roles = new \Doctrine\Common\Collections\ArrayCollection(); $this->galleryHasMedia = new \Doctrine\Common\Collections\ArrayCollection(); }
/** * Constructor */ public function __construct() { parent::__construct(); $this->posts = new \Doctrine\Common\Collections\ArrayCollection(); }