示例#1
0
 /**
  * Run the application
  */
 public function Run()
 {
     $this->Initiate();
     if (!$this->_startup_invoked) {
         $this->Startup();
     }
     # process the request
     $this->request->Process();
     # run a pre strap opt.
     $this->applicationBoostrap->RunPrestrap($this->request);
     # process the request
     $this->router->Process($this->request);
     # run the router
     $this->router->Run();
     return $this;
 }