Skip to content
This repository was archived by the owner on Nov 21, 2021. It is now read-only.

Commit a997b8e

Browse files
authored
fixes for readme
1 parent edf4dc6 commit a997b8e

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## About
44

5-
The DAMASolariumBundle provides integration with the [solarium](http://www.solarium-project.org)
5+
The DAMASolariumBundle provides integration with the [Solarium](http://www.solarium-project.org)
66
solr client library.
77

88
This Bundle is partially based on [NelmioSolariumBundle](https://github.com/nelmio/NelmioSolariumBundle) and is fully compatible with Symfony 5 and Solarium 5.2.
@@ -119,7 +119,7 @@ dama_solarium:
119119
$anotherOneClient = $this->get('solarium.client.anotherOne');
120120
```
121121

122-
Starting from Solarium 3.x you can also have multiple endpoints within the same client
122+
You can also have multiple endpoints within the same client
123123

124124
```yaml
125125
dama_solarium:
@@ -171,9 +171,10 @@ dama_solarium:
171171

172172
## Client registry
173173

174-
You can also use the service ```solarium.client_registry``` to access the clients you have configured using the names you have used in the configuration (with the example above):
174+
You can also use the service ```solarium.client_registry``` to access the clients you have configured using the names you have used in the configuration (with the example above).
175175

176176
```php
177+
/** @var DAMA\SolariumBundle\ClientRegistryInterface $registry */
177178
$registry = $this->get('solarium.client_registry');
178179
$firstOne = $registry->getClient('firstOne');
179180
$secondOne = $registry->getClient('secondOne');

0 commit comments

Comments
 (0)