1<?php
2
3namespace Elastica\Multi;
4
5use Elastica\Response;
6use Elastica\Search as BaseSearch;
7
8interface MultiBuilderInterface
9{
10    /**
11     * @param Response     $response
12     * @param BaseSearch[] $searches
13     *
14     * @return ResultSet
15     */
16    public function buildMultiResultSet(Response $response, array $searches): ResultSet;
17}
18