original_string: public function setObject($object)
      {
          if (!is_object($object) && (null !== $object)) {
              require_once 'Zend/Server/Exception.php';
              throw new Zend_Server_Exception('Invalid object passed to ' . __CLASS__ . '::' . __METHOD__);
          }
          $this->_object = $object;
          return $this;
      }
code: public function setObject($object)
      {
          if (!is_object($object) && (null !== $object)) {
              require_once 'Zend/Server/Exception.php';
              throw new Zend_Server_Exception('Invalid object passed to ' . __CLASS__ . '::' . __METHOD__);
          }
          $this->_object = $object;
          return $this;
      }
code_tokens: public function setObject ( $ object ) { if ( ! is_object ( $ object ) && ( null !== $ object ) ) { require_once 'Zend/Server/Exception.php' ; throw new Zend_Server_Exception ( 'Invalid object passed to ' . __CLASS__ . '::' . __METHOD__ ) ; } $ this -> _object = $ object ; return $ this ; }
docstring: Set object to use with method calls
  
  @param  object $object
  @return Zend_Server_Method_Definition
docstring_tokens: Set object to use with method calls