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;
    }
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;
    }
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 ; }
Set object to use with method calls

@param  object $object
@return Zend_Server_Method_Definition
Set object to use with method calls