/** * Constructor * * @param array $data Entity properties OPTIONAL * * @return void */ public function __construct(array $data = array()) { $this->pinCodes = new \Doctrine\Common\Collections\ArrayCollection(); parent::__construct($data); }
/** * Constructor * * @param array $data Entity properties OPTIONAL * * @return void */ public function __construct(array $data = array()) { parent::__construct($data); $this->privateAttachments = new \Doctrine\Common\Collections\ArrayCollection(); }