コード例 #1
0
 /**
  * Explicitly initializes all necessary FLOW3 objects by invoking the various initialize* methods.
  *
  * Usually this method is only called from unit tests or other applications which need a more fine grained control over
  * the initialization and request handling process. Most other applications just call the run() method.
  *
  * @return void
  * @author Robert Lemke <*****@*****.**>
  * @see run()
  * @throws \F3\FLOW3\Exception if the framework has already been initialized.
  * @api
  */
 public function initialize()
 {
     $this->initializeClassLoader();
     $this->initializeConfiguration();
     $this->initializeErrorHandling();
     $this->initializeObjectManager();
     $this->initializeSystemLogger();
     #		$this->initializeLockManager();
     if ($this->siteLocked === TRUE) {
         return;
     }
     $this->initializePackages();
     if ($this->packageManager->isPackageActive('FirePHP')) {
         $this->objectManager->registerObject('F3\\FirePHP\\Core');
         $this->objectManager->getObject('F3\\FirePHP\\Core');
     }
     $this->initializeSignalsSlots();
     $this->initializeCache();
     $this->initializeFileMonitor();
     $this->initializeReflection();
     $this->initializeObjects();
     $this->initializeAOP();
     $this->initializePersistence();
     $this->initializeSession();
     $this->initializeResources();
     $this->initializeLocale();
 }