예제 #1
0
파일: Adore.php 프로젝트: jimbojsb/adore
 public function run()
 {
     $webFactory = new WebFactory($GLOBALS);
     $request = $webFactory->newRequest();
     $action = $this->route($request);
     $responder = $this->dispatch($action);
     $this->respond($responder);
 }
예제 #2
0
파일: Request.php 프로젝트: mclkim/kaiser
 function __construct()
 {
     $factory = new WebFactory(array('_ENV' => $_ENV, '_GET' => $_GET, '_POST' => $_POST, '_COOKIE' => $_COOKIE, '_SERVER' => $_SERVER));
     $this->request = $factory->newRequest();
 }