-
Notifications
You must be signed in to change notification settings - Fork 203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EZP-30646: Reimplemented SignalSlots using EventDispatcher #2682
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As we've discussed multiple times, from now on, everything that is going either to be consumed or used by external and/or 3rd party packages, should be part of either API or SPI.
Seems to me that usage of Events is strictly for consumption, so it should have at least it's interface in API or be moved there entirely.
Applies to eZ/Publish/Core/Event/*/*Event.php
Other remarks:
eZ/Publish/Core/Search/Common/EventSubscriber/AbstractSearchEventSubscriber.php
Outdated
Show resolved
Hide resolved
eZ/Publish/Core/Search/Common/EventSubscriber/AbstractSearchEventSubscriber.php
Outdated
Show resolved
Hide resolved
eZ/Publish/Core/Search/Common/EventSubscriber/AbstractSearchEventSubscriber.php
Outdated
Show resolved
Hide resolved
eZ/Publish/Core/Search/Common/EventSubscriber/TrashEventSubscriber.php
Outdated
Show resolved
Hide resolved
eZ/Publish/Core/Search/Common/EventSubscriber/UserEventSubscriber.php
Outdated
Show resolved
Hide resolved
eZ/Publish/Core/Search/Common/EventSubscriber/AbstractSearchEventSubscriber.php
Show resolved
Hide resolved
c3c2f34
to
bfb2299
Compare
b74676d
to
40e8e42
Compare
188ef91
to
14ac703
Compare
* Dropped SignalSlot layer * Dropped ezpublish.api.signal Event * Reimplemented functions provided by slots using Event Subscribers * Aligned Repository factories * Aligned misc usages * Aligned tests Co-Authored-By: Adam Wójs <adamwojs@users.noreply.github.com>
* EZP-30646: Reimplemented SignalSlots using EventDispatcher
master
This is not standalone PR
Depends on:
EZP-30616: Inherited Symfony Event instead of PSR #2712(Merged)EZP-30616: Reimplemented repositotry services using EventDispatcher instead of SignalDispatcher #2658(Merged)EZP-30616: Fixed missing parameter in PublishVersion Events #2684(Merged)Requires:
TODO:
$ composer fix-cs
).master
after EZP-30616: Inherited Symfony Event instead of PSR #2712 merge