1<?php
2
3declare(strict_types = 1);
4
5namespace Elasticsearch\Connections;
6
7/**
8 * Class AbstractConnection
9 *
10 * @category Elasticsearch
11 * @package  Elasticsearch\Connections
12 * @author   Zachary Tong <zach@elastic.co>
13 * @license  http://www.apache.org/licenses/LICENSE-2.0 Apache2
14 * @link     http://elastic.co
15 */
16interface ConnectionFactoryInterface
17{
18    public function create(array $hostDetails): ConnectionInterface;
19}
20