Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
GuzzleClass is now a parameter
  • Loading branch information
tobias-nitsche committed Jan 31, 2017
1 parent 7f77e53 commit 056bbff
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Resources/config/methods.xml
Expand Up @@ -4,6 +4,10 @@
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="eko.guzzle_client.class">GuzzleHttp\Client</parameter>
</parameters>

<services>
<!-- Manager -->

Expand Down Expand Up @@ -39,7 +43,7 @@
<argument type="service" id="eko.google_translate.detector" />
</service>

<service id="eko.guzzle_client" class="GuzzleHttp\Client">
<service id="eko.guzzle_client" class="%eko.guzzle_client.class%">

</service>
</services>
Expand Down

0 comments on commit 056bbff

Please sign in to comment.