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 10116bf + 153d539 commit a0a1901Copy full SHA for a0a1901
DependencyInjection/Configuration.php
@@ -280,8 +280,8 @@ private function addWorkflowSection(ArrayNodeDefinition $rootNode)
280
->prototype('scalar')
281
->cannotBeEmpty()
282
->validate()
283
- ->ifTrue(function ($v) { return !class_exists($v); })
284
- ->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.')
285
->end()
286
287
0 commit comments