1<?php
2
3namespace Elastica\ResultSet;
4
5use Elastica\Query;
6use Elastica\Response;
7use Elastica\ResultSet;
8
9interface BuilderInterface
10{
11    /**
12     * Builds a ResultSet given a specific response and query.
13     */
14    public function buildResultSet(Response $response, Query $query): ResultSet;
15}
16