src/Query.php
public function clear($scroll_id = NULL)
    {

        $scroll_id = !is_null($scroll_id) ? $scroll_id : $this->scroll_id;

        return $this->connection->clearScroll([
            "scroll_id" => $scroll_id,
            'client' => ['ignore' => $this->ignores]
        ]);
    }
public function clear($scroll_id = NULL)
    {

        $scroll_id = !is_null($scroll_id) ? $scroll_id : $this->scroll_id;

        return $this->connection->clearScroll([
            "scroll_id" => $scroll_id,
            'client' => ['ignore' => $this->ignores]
        ]);
    }
public function clear ( $ scroll_id = NULL ) { $ scroll_id = ! is_null ( $ scroll_id ) ? $ scroll_id : $ this -> scroll_id ; return $ this -> connection -> clearScroll ( [ "scroll_id" => $ scroll_id , 'client' => [ 'ignore' => $ this -> ignores ] ] ) ; }
Clear scroll query id
@param  string $scroll_id
@return array|Collection
Clear scroll query id