diff --git a/README.md b/README.md index c31bc29..475de02 100644 --- a/README.md +++ b/README.md @@ -680,6 +680,14 @@ class Client extends BaseClient } ``` +### Clients as Tagged Services + +Clients will be tagged as `fos_elastica.client`, which makes it possible to +retrieve all clients from the service container and interact with them via a +compiler pass. See +[Working with Tagged Services](http://symfony.com/doc/current/components/dependency_injection/tags.html) +for more information. + ### Example of Advanced Query If you would like to perform more advanced queries, here is one example using diff --git a/Resources/config/config.xml b/Resources/config/config.xml index cd91961..4097289 100644 --- a/Resources/config/config.xml +++ b/Resources/config/config.xml @@ -33,6 +33,7 @@ +