__construct() __construct(callable $callback) Parameters callable $callback Throws \Elastica\Exception\InvalidException
getConnection() getConnection(array|array<mixed,\Elastica\Connection> $connections) : \Elastica\Connection Parameters array|array<mixed,\Elastica\Connection> $connections Returns \Elastica\Connection