# app/config/config.yaml
solrphp_solarium:
default_client: 'default'
clients:
default:
endpoints: ['default', 'second']
default_endpoint: 'default'
client_class: 'My\Custom\Client'
adapter_class: 'My\Custom\Adapter'
adapter_service: 'adapter.service'
dispatcher_service: 'dispatcher.service'
the endpoints exposed to your client.
if omitted, all configured endpoints will be assigned to your client.
the default endpoint for your client
your implementation of Solarium\Core\Client\ClientInterface
defaults to Solarium\Core\Client\Client
your implementation of Solarium\Core\Client\Adapter\AdapterInterface
defaults to Solarium\Core\Client\Adapter\Curl
service id of your implementation of Solarium\Core\Client\Adapter\AdapterInterface
service id of your implementation of Psr\EventDispatcher\EventDispatcherInterface
defaults to event_dispatcher
only one of these can be configured;
adapter_service
takes precedence over adapter_class