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 1ccc3de commit 85f6710Copy full SHA for 85f6710
src/Symfony/Bundle/TwigBundle/DependencyInjection/Compiler/ExtensionPass.php
@@ -107,7 +107,6 @@ public function process(ContainerBuilder $container)
107
$container->getDefinition('twig.extension.expression')->addTag('twig.extension');
108
}
109
110
- $container->addResource(new ClassExistenceResource(Workflow::class));
111
if (!class_exists(Workflow::class) || !$container->has('workflow.registry')) {
112
$container->removeDefinition('workflow.twig_extension');
113
} else {
0 commit comments