Ejemplo n.º 1
0
 public final function sendResponse(Application\IResponse $response)
 {
     if ($this->innerCall) {
         parent::sendResponse($response);
     }
     $this->amfManager->setResponse($response);
     if ($this->amfManager->hasMoreMessages()) {
         $request = $this->amfManager->createApplicationRequest();
         parent::sendResponse(new Application\Responses\ForwardResponse($request));
     } else {
         parent::sendResponse(new FinalResponse($this->amfManager));
     }
 }