-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Replace interface in custom normalizer #12093
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
Replace interface in custom normalizer #12093
Conversation
It's the same from 4.1 to 4.4 |
Thanks for this contribution Tony. Please note that if this change is approved, we'll merge it in 4.3 branch, the oldest maintained branch where this is applicable (see https://symfony.com/roadmap#maintained-symfony-branches). |
My bad, this PR is for 4.2 minimum .... |
Yes thank you @javiereguiluz. Do I have to change the target of the PR ? |
… context in supportNormalization method
No we take care of the switch, thank you 👍 |
Tony, thanks for fixing this and for rebasing the pull request to the right branch. Congrats also on your first Symfony Docs contribution! |
This PR was merged into the 4.3 branch. Discussion ---------- Replace interface in custom normalizer Replace NormalizerInterface by ContextAwareNormalizerInterface to use `context` parameter in supportNormalization method Commits ------- a756044 Replace NormalizerInterface by ContextAwareNormalizerInterface to use context in supportNormalization method
Replace NormalizerInterface by ContextAwareNormalizerInterface to use
context
parameter in supportNormalization method