@@ -84,7 +84,7 @@ private function registerClientConfiguration(array $config, ContainerBuilder $co
84
84
85
85
foreach ($ config as $ client => $ options ) {
86
86
$ definition = new DefinitionDecorator ('besimple.soap.client.builder ' );
87
- $ context = $ container ->setDefinition (sprintf ('besimple.soap.client.builder.%s ' , $ client ), $ definition );
87
+ $ container ->setDefinition (sprintf ('besimple.soap.client.builder.%s ' , $ client ), $ definition );
88
88
89
89
$ definition ->replaceArgument (0 , $ options ['wsdl ' ]);
90
90
@@ -118,7 +118,7 @@ private function registerClientConfiguration(array $config, ContainerBuilder $co
118
118
private function createClientClassmap ($ client , array $ classmap , ContainerBuilder $ container )
119
119
{
120
120
$ definition = new DefinitionDecorator ('besimple.soap.classmap ' );
121
- $ context = $ container ->setDefinition (sprintf ('besimple.soap.classmap.%s ' , $ client ), $ definition );
121
+ $ container ->setDefinition (sprintf ('besimple.soap.classmap.%s ' , $ client ), $ definition );
122
122
123
123
$ definition ->setMethodCalls (array (
124
124
array ('set ' , array ($ classmap )),
@@ -130,7 +130,7 @@ private function createClientClassmap($client, array $classmap, ContainerBuilder
130
130
private function createClient ($ client , ContainerBuilder $ container )
131
131
{
132
132
$ definition = new DefinitionDecorator ('besimple.soap.client ' );
133
- $ context = $ container ->setDefinition (sprintf ('besimple.soap.client.%s ' , $ client ), $ definition );
133
+ $ container ->setDefinition (sprintf ('besimple.soap.client.%s ' , $ client ), $ definition );
134
134
135
135
$ definition ->setFactoryService (sprintf ('besimple.soap.client.builder.%s ' , $ client ));
136
136
}
@@ -142,7 +142,7 @@ private function createWebServiceContext(array $config, ContainerBuilder $contai
142
142
143
143
$ contextId = 'besimple.soap.context. ' .$ config ['name ' ];
144
144
$ definition = new DefinitionDecorator ('besimple.soap.context. ' .$ bindingSuffix );
145
- $ context = $ container ->setDefinition ($ contextId , $ definition );
145
+ $ container ->setDefinition ($ contextId , $ definition );
146
146
147
147
if (isset ($ config ['cache_type ' ])) {
148
148
$ config ['cache_type ' ] = $ this ->getCacheType ($ config ['cache_type ' ]);
0 commit comments