/** * Constructs this User object */ public function __construct() { parent::__construct(); $this->preferences = new UserPreferences(); }
/** * Constructs a new projectManager */ public function __construct() { parent::__construct(); $this->projects = new \Doctrine\Common\Collections\ArrayCollection(); }