Skip to content

Conversation

@94noni
Copy link
Contributor

@94noni 94noni commented Apr 15, 2025

Hello, another thing I notice in the doc is the usage of old "string" via (constant) for the event dispatcher and listener/subscriber

do you think it is worth it in sf v7+ to only document the "new way" via event class which is the event dispatched internally?

thank !

@carsonbot carsonbot changed the title [RFC] feat: swap from event constant to event class [EventDispatcher] [RFC] feat: swap from event constant to event class Apr 15, 2025
@javiereguiluz javiereguiluz added this to the 6.4 milestone Apr 15, 2025
@javiereguiluz javiereguiluz changed the base branch from 7.2 to 6.4 April 15, 2025 15:34
@javiereguiluz javiereguiluz requested a review from xabbuh as a code owner April 15, 2025 15:34
@javiereguiluz javiereguiluz merged commit 9aa3f8a into symfony:6.4 Apr 15, 2025
3 checks passed
@javiereguiluz
Copy link
Member

Yes, this is better and we already use the new notation everywhere else. Thanks Antoine!

@94noni 94noni deleted the patch-17 branch April 15, 2025 15:46
@94noni
Copy link
Contributor Author

94noni commented Apr 15, 2025

go it thx, I will try to make a pass on the codebase for any leftover :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment