private function registerSettings() { $this->applicationFactory->registerObject('Settings', Settings::newFromGlobals($this->globalVars)); if (CompatibilityMode::extensionNotEnabled()) { CompatibilityMode::disableSemantics(); } }
/** * @since 2.4 * * @param string $id * @param mixed $object * * @return self */ public function registerObject($id, $object) { $this->applicationFactory->registerObject($id, $object); return $this; }
private function registerSettings() { $this->applicationFactory->registerObject('Settings', Settings::newFromGlobals($this->globalVars)); }