public function __construct() { parent::__construct(); $this->userRoles = new ArrayCollection(); $this->userGroups = new ArrayCollection(); $this->userSettings = new ArrayCollection(); }