Skip to content

Commit f5bf1ed

Browse files
authored
Merge pull request #19 from mablae/fix-plugin-bug
Remove check in extension since the plugins are not loaded yet.
2 parents b6436b2 + b604a77 commit f5bf1ed

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/DependencyInjection/ProophServiceBusExtension.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -124,16 +124,6 @@ private function loadBus(string $type, string $name, array $options, ContainerBu
124124
new DefinitionDecorator('prooph_service_bus.' . $type . '_bus')
125125
);
126126

127-
if (!empty($options['plugins'])) {
128-
foreach ($options['plugins'] as $index => $util) {
129-
if (! $container->hasDefinition($util)) {
130-
throw new RuntimeException(
131-
"A plugin must be a string representing an configured container service"
132-
);
133-
}
134-
}
135-
}
136-
137127
// define message factory
138128
$messageFactoryId = 'prooph_service_bus.message_factory.'.$name;
139129
$container->setDefinition(

0 commit comments

Comments
 (0)