StrategyInterface.php 310 B

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