Update dependency injection for Symfony 4.*
This commit is contained in:
@ -152,7 +152,7 @@ class BeSimpleSoapExtension extends Extension
|
||||
$definition = new ChildDefinition('besimple.soap.client');
|
||||
$container->setDefinition(sprintf('besimple.soap.client.%s', $client), $definition);
|
||||
|
||||
if (3 === Kernel::MAJOR_VERSION) {
|
||||
if (Kernel::MAJOR_VERSION >= 3) {
|
||||
$definition->setFactory(array(
|
||||
new Reference(sprintf('besimple.soap.client.builder.%s', $client)),
|
||||
'build'
|
||||
|
Reference in New Issue
Block a user