public function __construct() { parent::__construct(); $this->users = new ArrayCollection(); $this->models = new ArrayCollection(); $this->organizations = new ArrayCollection(); }
public function __construct() { parent::__construct(); $this->roles = new ArrayCollection(); $this->groups = new ArrayCollection(); $this->abstractResources = new ArrayCollection(); $this->salt = base_convert(sha1(uniqid(mt_rand(), true)), 16, 36); $this->orderedTools = new ArrayCollection(); $this->fieldsFacetValue = new ArrayCollection(); $this->models = new ArrayCollection(); $this->organizations = new ArrayCollection(); $this->events = new ArrayCollection(); $this->administratedOrganizations = new ArrayCollection(); }