Skip to content

[Translation] [Phrase] Refacto ReadConfig and WriteConfig into arrays #51706

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
Sep 20, 2023

Conversation

welcoMattic
Copy link
Member

Q A
Branch? 6.4
Bug fix? no
New feature? no
Deprecations? no
Tickets Fix #49231
License MIT
Doc PR symfony/symfony-docs#...

This PR follows up #49231 which brings a new Translation Provider for Phrase.

But there was a complexity layer about read and write configuration (means API calls options) in the original code.

I've moved ReadConfig and WriteConfig from their own class into PhraseProvider properties. Which is easier to manipulate, to initialize and to test.

@nicolas-grekas
Copy link
Member

Thank you @welcoMattic.

@nicolas-grekas nicolas-grekas merged commit 7d310a3 into symfony:6.4 Sep 20, 2023
@nicolas-grekas nicolas-grekas added this to the 6.4 milestone Sep 25, 2023
@welcoMattic welcoMattic deleted the refacto-phrase-provider branch April 18, 2025 14:36
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.

2 participants