extcode / cart

Cart is a small but powerful extension which "solely" adds a shopping cart to your TYPO3 installation. The extension allows you to create coupons, products with or without variants, special prices.
GNU General Public License v2.0
57 stars 51 forks source link

[TASK] Replace EventInterfaces by specific Events #573

Closed rintisch closed 1 month ago

rintisch commented 1 month ago

Replace the used EventInterfaces by the really used specific Events in the __invoke() method of Events where it's suitable.

In the next step the superfluous interfaces can be removed. Furthermore can the Services.yaml be shortened by using the #AsEventListener attribute.

rintisch commented 1 month ago

This is step 1/3 of the proposal. If it okay I would continue with the other steps.

extcode commented 1 month ago

@rintisch I think this step is OK. But I would keep the interface as a contract so that developers who use the event know what they can rely on.