コード例 #1
0
ファイル: Request.php プロジェクト: appcelerator/entourage
 public function processMessages()
 {
     foreach ($this->requests as $request) {
         $services = Appcelerator_Service::getServices($request);
         foreach ($services as $handler) {
             $response = $handler->createResponseMessage($request, $handler);
             $handler->dispatch($request, $response);
             // if there is no response type, the response message
             // will be null and we don't want to send it along
             if (!is_null($response)) {
                 $this->responses[] = $response;
             }
         }
     }
 }