예제 #1
0
 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;
 }
예제 #3
0
 private function registerSettings()
 {
     $this->applicationFactory->registerObject('Settings', Settings::newFromGlobals($this->globalVars));
 }