Skip to content

Commit 5a768e0

Browse files
committed
[Worflow] Add a TraceableWorkflow
1 parent afc557e commit 5a768e0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

FrameworkBundle.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
use Symfony\Component\Validator\DependencyInjection\AddValidatorInitializersPass;
7171
use Symfony\Component\VarExporter\Internal\Hydrator;
7272
use Symfony\Component\VarExporter\Internal\Registry;
73+
use Symfony\Component\Workflow\DependencyInjection\WorkflowDebugPass;
7374
use Symfony\Component\Workflow\DependencyInjection\WorkflowGuardListenerPass;
7475

7576
// Help opcache.preload discover always-needed symbols
@@ -189,6 +190,7 @@ public function build(ContainerBuilder $container)
189190
$container->addCompilerPass(new UnusedTagsPass(), PassConfig::TYPE_AFTER_REMOVING);
190191
$container->addCompilerPass(new ContainerBuilderDebugDumpPass(), PassConfig::TYPE_BEFORE_REMOVING, -255);
191192
$container->addCompilerPass(new CacheCollectorPass(), PassConfig::TYPE_BEFORE_REMOVING);
193+
$this->addCompilerPassIfExists($container, WorkflowDebugPass::class);
192194
}
193195
}
194196

0 commit comments

Comments
 (0)