settings = $settings; $this->logger = new LoggerImpl(); $this->queryContext = new QueryContext(); $this->currentUser = User::initFromGlobals($this); } /** * @return OptionsManager */ public function getSettings(): OptionsManager { return $this->settings; } public function getLogger(): ILogger { return $this->logger; } /** * @return QueryContext */ public function getQueryContext(): QueryContext { return $this->queryContext; } public function getCurrentUser(): ?User { return $this->currentUser; } }