Skip to content

psr18-adapter/ruflin-elastica

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

psr18-adapter/ruflin-elastica

Install

Via Composer

composer require psr18-adapter/ruflin-elastica

Usage

This would be how a service configuration would look like when using symfony/dependency-injection:

services:
  Psr18Adapter\Ruflin\Elastica\RuflinPsr18Transport:
    autowire: true
    arguments:
      $client: '@httplug.client.es'
  Elastica\Connection:
    arguments:
      - { host: "%es_host%", port: "%es_port%" }
    calls:
      - [setTransport, ['@Psr18Adapter\Ruflin\Elastica\RuflinPsr18Transport']]
  Elastica\Client:
    calls:
      - [setConnections, [['@Elastica\Connection']]]

Licensing

MIT license. Please see License File for more information.

About

PSR-18 adapter for ruflin/elastica

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages