Elastica\Response::getScrollId PHP Method

getScrollId() public method

Get the _scroll value for the response.
public getScrollId ( ) : string
return string
    public function getScrollId()
    {
        $data = $this->getData();
        if (!isset($data['_scroll_id'])) {
            throw new NotFoundException('Unable to find the field [_scroll_id] from the response');
        }
        return $data['_scroll_id'];
    }