Skip to content

Commit

Permalink
Moved service classes to parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
nowiko committed Oct 18, 2015
1 parent 9327648 commit d222f85
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Resources/config/services.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">

<parameters>
<parameter key="sleepness.uber.memcached.messages_frontend.class">Sleepness\UberTranslationAdminBundle\Frontend\MemcachedMessagesFrontendCatalogue</parameter>
</parameters>

<services>

<service id="memcached.messages.frontend.catalogue"
class="Sleepness\UberTranslationAdminBundle\Frontend\MemcachedMessagesFrontendCatalogue">
<service id="memcached.messages.frontend.catalogue" class="%sleepness.uber.memcached.messages_frontend.class%">
<argument type="service" id="uber.memcached"/>
<argument>%sleepness_uber_translation.supported_locales%</argument>
</service>
Expand Down

0 comments on commit d222f85

Please sign in to comment.