We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 84475d6 + a0a1901 commit 2c303aaCopy full SHA for 2c303aa
DependencyInjection/Configuration.php
@@ -283,8 +283,8 @@ private function addWorkflowSection(ArrayNodeDefinition $rootNode)
283
->prototype('scalar')
284
->cannotBeEmpty()
285
->validate()
286
- ->ifTrue(function ($v) { return !class_exists($v); })
287
- ->thenInvalid('The supported class %s does not exist.')
+ ->ifTrue(function ($v) { return !class_exists($v) && !interface_exists($v); })
+ ->thenInvalid('The supported class or interface "%s" does not exist.')
288
->end()
289
290
0 commit comments