phprs\Response::offsetGet PHP Method

offsetGet() public method

通过[]操作符设置输出数据
public offsetGet ( $offset )
    public function &offsetGet($offset)
    {
        Verify::isTrue($this->offsetExists($offset), 'unsupported response ' . $offset);
        if (!isset($this->buffer[$offset])) {
            $this->buffer[$offset] = array();
        }
        return $this->buffer[$offset];
    }