Skip to content

Commit

Permalink
Should fix #2
Browse files Browse the repository at this point in the history
  • Loading branch information
overclokk committed Sep 3, 2023
1 parent befdacc commit e99522a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -434,15 +434,15 @@ $dependencies = ConfigFactory::make([
EventDispatcher::class,
SubscriberRegister::class,
],
// Now add in the array all your subscribers that implemente the ItalyStrap\Event\SubscriberInterface
// Now add in the array all your subscribers that implement the ItalyStrap\Event\SubscriberInterface
// The instances create are shared by default for later removing like you se above.
SubscribersConfigExtension::SUBSCRIBERS => [
Subscriber::class,
],
// You can also add more configuration for the AurynResolver https://github.com/ItalyStrap/empress
]);

// This wil instantiate the EventResolverExtension::class
// This will instantiate the EventResolverExtension::class
$event_resolver = $injector->make( SubscribersConfigExtension::class, [
// In the EventResolverExtension object you can pass a config key value pair for adding or not listener at runtime
// from your theme or plugin options
Expand Down Expand Up @@ -560,15 +560,15 @@ $dependencies = ConfigFactory::make([
AurynResolver::PROXY => [
MyBusinessLogic::class,
],
// Now add in the array all your subscribers that implemente the ItalyStrap\Event\SubscriberInterface
// Now add in the array all your subscribers that implement the ItalyStrap\Event\SubscriberInterface
// The instances create are shared by default for later removing like you se above.
SubscribersConfigExtension::SUBSCRIBERS => [
MyClassSubscriber::class,
],
// You can also add more configuration for the AurynResolver https://github.com/ItalyStrap/empress
]);

// This wil instantiate the EventResolverExtension::class
// This will instantiate the EventResolverExtension::class
$event_resolver = $injector->make( SubscribersConfigExtension::class, [
// In the EventResolverExtension object you can pass a config key value pair for adding or not listener at runtime
// from your theme or plugin options
Expand Down

0 comments on commit e99522a

Please sign in to comment.