File tree Expand file tree Collapse file tree 2 files changed +18
-2
lines changed
Expand file tree Collapse file tree 2 files changed +18
-2
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" ,
103103 },
104104 "public-dir" : " vendor/sylius/test-application/public"
105105 },
106- "prefer-stable" : true
106+ "prefer-stable" : true ,
107+ "repositories" : [
108+ {
109+ "type" : " vcs" ,
110+ "url" : " https://github.com/Sylius/Telemetry"
111+ }
112+ ]
107113}
Original file line number Diff line number Diff line change 1414namespace Sylius \InvoicingPlugin ;
1515
1616use Sylius \Bundle \CoreBundle \Application \SyliusPluginTrait ;
17+ use Symfony \Component \DependencyInjection \ContainerBuilder ;
1718use Symfony \Component \HttpKernel \Bundle \Bundle ;
1819
20+ use Sylius \Telemetry \TelemetryCompilerPass ;
21+
1922final class SyliusInvoicingPlugin extends Bundle
2023{
2124 use SyliusPluginTrait;
@@ -24,4 +27,11 @@ public function getPath(): string
2427 {
2528 return \dirname (__DIR__ );
2629 }
30+
31+ public function build (ContainerBuilder $ container ): void
32+ {
33+ parent ::build ($ container );
34+
35+ $ container ->addCompilerPass (new TelemetryCompilerPass ());
36+ }
2737}
You can’t perform that action at this time.
0 commit comments