public function __construct() { parent::__construct(); $this->proethos2_roles = new ArrayCollection(); $this->isActive = true; // may not be needed, see section on salt below // $this->salt = md5(uniqid(null, true)); }
public function __construct() { $this->country = new ArrayCollection(); $this->budget = new ArrayCollection(); $this->clinical_trial = new ArrayCollection(); $this->schedule = new ArrayCollection(); $this->attachments = new ArrayCollection(); // call Grandpa's constructor parent::__construct(); }
/** * Constructor */ public function __construct() { parent::__construct(); $this->submission = new ArrayCollection(); }