FriendsOfSymfony/FOSElasticaBundle — pull request #324 by hmonglee (2013-06-20 11:30:45+00:00)
Title: Fix load clients dependency

There is a bug when declare multiple clients (see #320).

It's happen because $container->getDefinition('fos_elastica.client') return the same object reference for each client. So the last client host and port is used for all clients.

By creating a new definition, there is no sharing of the same definition object.