From 0c69b89bb20bd372f8904326d228747b3d925c46 Mon Sep 17 00:00:00 2001 From: Timothy Jacobs Date: Thu, 7 Nov 2024 17:58:23 -0500 Subject: [PATCH] Bind the event class. Previously #106. --- src/Telemetry/Core.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Telemetry/Core.php b/src/Telemetry/Core.php index 174c8c5..84283ae 100644 --- a/src/Telemetry/Core.php +++ b/src/Telemetry/Core.php @@ -14,6 +14,7 @@ use StellarWP\Telemetry\Admin\Resources; use StellarWP\Telemetry\Contracts\Data_Provider; use StellarWP\Telemetry\Data_Providers\Debug_Data; +use StellarWP\Telemetry\Events\Event; use StellarWP\Telemetry\Events\Event_Subscriber; use StellarWP\Telemetry\Exit_Interview\Exit_Interview_Subscriber; use StellarWP\Telemetry\Exit_Interview\Template; @@ -143,6 +144,7 @@ private function init_container( string $plugin_path ) { $container->bind( Data_Provider::class, Debug_Data::class ); $container->bind( Status::class, Status::class ); $container->bind( Last_Send::class, Last_Send::class ); + $container->bind( Event::class, Event::class ); $container->bind( Opt_In_Template::class, static function () use ( $container ) {