original_string: public function setResponse($response)
      {
          if (is_string($response) && class_exists($response)) {
              $response = new $response();
              if (!$response instanceof Zend_Amf_Response) {
                  require_once 'Zend/Amf/Server/Exception.php';
                  throw new Zend_Amf_Server_Exception('Invalid response class');
              }
          } elseif (!$response instanceof Zend_Amf_Response) {
              require_once 'Zend/Amf/Server/Exception.php';
              throw new Zend_Amf_Server_Exception('Invalid response object');
          }
          $this->_response = $response;
          return $this;
      }
code: public function setResponse($response)
      {
          if (is_string($response) && class_exists($response)) {
              $response = new $response();
              if (!$response instanceof Zend_Amf_Response) {
                  require_once 'Zend/Amf/Server/Exception.php';
                  throw new Zend_Amf_Server_Exception('Invalid response class');
              }
          } elseif (!$response instanceof Zend_Amf_Response) {
              require_once 'Zend/Amf/Server/Exception.php';
              throw new Zend_Amf_Server_Exception('Invalid response object');
          }
          $this->_response = $response;
          return $this;
      }
code_tokens: public function setResponse ( $ response ) { if ( is_string ( $ response ) && class_exists ( $ response ) ) { $ response = new $ response ( ) ; if ( ! $ response instanceof Zend_Amf_Response ) { require_once 'Zend/Amf/Server/Exception.php' ; throw new Zend_Amf_Server_Exception ( 'Invalid response class' ) ; } } elseif ( ! $ response instanceof Zend_Amf_Response ) { require_once 'Zend/Amf/Server/Exception.php' ; throw new Zend_Amf_Server_Exception ( 'Invalid response object' ) ; } $ this -> _response = $ response ; return $ this ; }
docstring: Public access method to private Zend_Amf_Server_Response reference
  
  @param  string|Zend_Amf_Server_Response $response
  @return Zend_Amf_Server
docstring_tokens: Public access method to private Zend_Amf_Server_Response reference