src/Guzzle/Service/Description/Operation.php
public function setResponseType($responseType)
    {
        static $types = array(
            self::TYPE_PRIMITIVE => true,
            self::TYPE_CLASS => true,
            self::TYPE_MODEL => true,
            self::TYPE_DOCUMENTATION => true
        );
        if (!isset($types[$responseType])) {
            throw new InvalidArgumentException('responseType must be one of ' . implode(', ', array_keys($types)));
        }

        $this->responseType = $responseType;

        return $this;
    }
public function setResponseType($responseType)
    {
        static $types = array(
            self::TYPE_PRIMITIVE => true,
            self::TYPE_CLASS => true,
            self::TYPE_MODEL => true,
            self::TYPE_DOCUMENTATION => true
        );
        if (!isset($types[$responseType])) {
            throw new InvalidArgumentException('responseType must be one of ' . implode(', ', array_keys($types)));
        }

        $this->responseType = $responseType;

        return $this;
    }
public function setResponseType ( $ responseType ) { static $ types = array ( self :: TYPE_PRIMITIVE => true , self :: TYPE_CLASS => true , self :: TYPE_MODEL => true , self :: TYPE_DOCUMENTATION => true ) ; if ( ! isset ( $ types [ $ responseType ] ) ) { throw new InvalidArgumentException ( 'responseType must be one of ' . implode ( ', ' , array_keys ( $ types ) ) ) ; } $ this -> responseType = $ responseType ; return $ this ; }
Set qualifying information about the responseClass. One of 'primitive', 'class', 'model', or 'documentation'

@param string $responseType Response type information

@return self
@throws InvalidArgumentException
Set qualifying information about the responseClass . One of primitive class model or documentation