-
-
Notifications
You must be signed in to change notification settings - Fork 454
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
Add documentation for AsEventListener attribute #1583
Conversation
7d78785
to
9e5b758
Compare
can you update doc/ too? |
Documentation added here (DoctrineBundle) and also in symfony/symfony-docs symfony/symfony-docs#17472 |
What about naming this one |
This confusion just reflects how it is in DI tags, so it's fine I think. If we name this AsOrmListener, people would then wonder why tag isn't doctrine.orm.event_listener |
And actually |
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.
👍
Regarding the name: I agree its slightly confusing with Symfony's AsEventListener
. Maybe AsDoctrineEventListener
could be an alternative? 🤷♂️
@jderusse can you change the base to 2.8.x? Since this is a new feature we should target 2.8 |
ok... this is embarrassing now... While rebasing on I keep this PR open for documentation purposes |
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.
Oh wow I also totally missed that this was already done on 2.8 🙈
Some tiny remarks left from my side 👍
I'd like we rename the attribute, here is my proposal: #1592 |
@jderusse the attribute was renamed to |
I've updated it. Any other feedback? |
…ener` (jderusse) This PR was merged into the 6.2 branch. Discussion ---------- [Doctrine] Add documentation about Doctrine `AsEventListener` Related to the **NOT YET MERGED** PR doctrine/DoctrineBundle#1583 Commits ------- e97a574 Add documentation about doctrine's AsEventListener
This PR adds documentation for
AsEventListener
attribute introduced in #1561