diff --git a/app/config/eccube/services.yaml b/app/config/eccube/services.yaml index cecd22a2769..dc7f3a1d2bb 100644 --- a/app/config/eccube/services.yaml +++ b/app/config/eccube/services.yaml @@ -29,6 +29,9 @@ services: $orderPurchaseFlow: '@eccube.purchase.flow.order' $_orderStateMachine: '@state_machine.order' + event_dispatcher: + class: Eccube\Event\EventDispatcherWrapper + public: true # makes classes in src/ available to be used as services # this creates a service per class whose id is the fully-qualified class name diff --git a/src/Eccube/Event/EventDispatcherWrapper.php b/src/Eccube/Event/EventDispatcherWrapper.php new file mode 100644 index 00000000000..7d7d0553ee3 --- /dev/null +++ b/src/Eccube/Event/EventDispatcherWrapper.php @@ -0,0 +1,35 @@ +