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.
1 parent e4a608e commit 153d539Copy full SHA for 153d539
DependencyInjection/Configuration.php
@@ -329,8 +329,8 @@ private function addWorkflowSection(ArrayNodeDefinition $rootNode)
329
->prototype('scalar')
330
->cannotBeEmpty()
331
->validate()
332
- ->ifTrue(function ($v) { return !class_exists($v); })
333
- ->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.')
334
->end()
335
336
0 commit comments