Skip to content

[TwigComponent] Clarifying PostMount hook #883

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
May 18, 2023

Conversation

weaverryan
Copy link
Member

Q A
Bug fix? no
New feature? no
Tickets None
License MIT

From a conversation on Slack with @mina20088. The previous text was accurate... but it made a big deal out of a feature that few will need. Really, you could use mount() instead of PostMount I think in all cases. PostMount IS still nice if you want to run some processing AFTER all of your properties have been mounted.

Cheers!

@weaverryan weaverryan merged commit ce1bcfb into symfony:2.x May 18, 2023
@weaverryan weaverryan deleted the twig-remove-post-mount-note branch May 18, 2023 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants