Skip to content

Commit

Permalink
Bind the event class.
Browse files Browse the repository at this point in the history
Previously #106.
  • Loading branch information
TimothyBJacobs authored Nov 7, 2024
1 parent a4bc84f commit 0c69b89
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Telemetry/Core.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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 ) {
Expand Down

0 comments on commit 0c69b89

Please sign in to comment.