1<?php
2
3namespace Elastica\Connection\Strategy;
4
5use Elastica\Connection;
6
7/**
8 * Description of AbstractStrategy.
9 *
10 * @author chabior
11 */
12interface StrategyInterface
13{
14    /**
15     * @param Connection[] $connections
16     *
17     * @return Connection
18     */
19    public function getConnection(array $connections): Connection;
20}
21