File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 2828 "symfony/messenger" : " ^6.4 || ^7.1" ,
2929 "symfony/options-resolver" : " ^6.4 || ^7.1" ,
3030 "symfony/routing" : " ^6.4 || ^7.1" ,
31- "sylius/telemetry-bundle " : " ^1.0"
31+ "sylius/telemetry" : " ^1.0"
3232 },
3333 "require-dev" : {
3434 "behat/behat" : " ^3.14" ,
Original file line number Diff line number Diff line change 1414namespace Sylius \InvoicingPlugin ;
1515
1616use Sylius \Bundle \CoreBundle \Application \SyliusPluginTrait ;
17+ use Sylius \Telemetry \TelemetryCompilerPass ;
18+ use Symfony \Component \DependencyInjection \ContainerBuilder ;
1719use Symfony \Component \HttpKernel \Bundle \Bundle ;
1820
1921final class SyliusInvoicingPlugin extends Bundle
@@ -24,4 +26,11 @@ public function getPath(): string
2426 {
2527 return \dirname (__DIR__ );
2628 }
29+
30+ public function build (ContainerBuilder $ container ): void
31+ {
32+ parent ::build ($ container );
33+
34+ $ container ->addCompilerPass (new TelemetryCompilerPass ());
35+ }
2736}
You can’t perform that action at this time.
0 commit comments