Skip to content

[DependencyInjection] Update event_dispatcher.rst #16503

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

Merged
merged 1 commit into from
Mar 11, 2022
Merged

[DependencyInjection] Update event_dispatcher.rst #16503

merged 1 commit into from
Mar 11, 2022

Conversation

JakeFr
Copy link
Contributor

@JakeFr JakeFr commented Feb 13, 2022

AddEventAliasesPass and RegisterListenersPass constructors were removed in 6.0

AddEventAliasesPass and RegisterListenersPass constructors were removed in 6.0
@javiereguiluz javiereguiluz added this to the 6.0 milestone Mar 11, 2022
@carsonbot carsonbot changed the title Update event_dispatcher.rst [DependencyInjection] Update event_dispatcher.rst Mar 11, 2022
@javiereguiluz
Copy link
Member

For reference purposes, here's the code showing that the constructor in 6.0 only accepts one argument instead of several as in previous versions: https://github.com/symfony/symfony/blob/6.0/src/Symfony/Component/EventDispatcher/DependencyInjection/AddEventAliasesPass.php

@javiereguiluz
Copy link
Member

Good catch, thanks @JakeFr.

@javiereguiluz javiereguiluz merged commit 423272d into symfony:6.0 Mar 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants