Skip to content
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

Improvement in the listener description #937

Closed
wants to merge 1 commit into from
Closed

Improvement in the listener description #937

wants to merge 1 commit into from

Conversation

nietzscheson
Copy link

The description is confused. Improvement in the listener description.

event: preUpdate
entity: App\Entity\User
entity_manager: custom
- { name: doctrine.orm.entity_listener, entity: App\Entity\User, event: preUpdate }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The example shows the minimum attributes for a tag and what other attributes are available. Your changes drop this visualization. If your goal was to reduce confusion by removing one tag, you should create a new configuration block with the minimum and maximum amount of tag attributes.

You also need to adapt the XML part for the configuration to be equal to the YAML ones.

Can you please also add the lazy attribute to the configuration block with the maximum amount of tag attributes?

@alcaeus
Copy link
Member

alcaeus commented Apr 1, 2019

My apologies - I had an open merge from 1.10.x to master sitting on my hard drive which is why this appeared confusing. In fact, #906 and #910 updated these blocks for clarity. I'm closing this PR as I don't think we should be updating that once again.

@alcaeus alcaeus closed this Apr 1, 2019
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.

None yet

3 participants