\Elastica\Connection\StrategyCallbackStrategy

Description of CallbackStrategy.

Summary

Methods
Properties
Constants
__construct()
getConnection()
No public properties found
No constants found
No protected methods found
$_callback
N/A
No private methods found
No private properties found
N/A

Properties

$_callback

$_callback : callable

Type

callable

Methods

__construct()

__construct(callable  $callback) 

Parameters

callable $callback

getConnection()

getConnection(array  $connections) : \Elastica\Connection

Parameters

array $connections

Returns

\Elastica\Connection