Skip to content

Commit

Permalink
[TwigBundle] Remove ClassExistenceResource usage
Browse files Browse the repository at this point in the history
  • Loading branch information
ogizanagi committed May 11, 2017
1 parent 1ccc3de commit 85f6710
Showing 1 changed file with 0 additions and 1 deletion.
Expand Up @@ -107,7 +107,6 @@ public function process(ContainerBuilder $container)
$container->getDefinition('twig.extension.expression')->addTag('twig.extension');
}

$container->addResource(new ClassExistenceResource(Workflow::class));
if (!class_exists(Workflow::class) || !$container->has('workflow.registry')) {
$container->removeDefinition('workflow.twig_extension');
} else {
Expand Down

0 comments on commit 85f6710

Please sign in to comment.