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

Implement new interfaces from symfony/translation-contracts #29

Merged
merged 2 commits into from
Feb 1, 2022

Conversation

mpdude
Copy link
Member

@mpdude mpdude commented Feb 1, 2022

Symfony 4.2 deprecated \Symfony\Component\Translation\TranslatorInterface in favor of \Symfony\Contracts\Translation\TranslatorInterface.

This PR implements the new interfaces in addition to the old ones to allow for a smoother transition.

@mpdude mpdude merged commit f910c37 into master Feb 1, 2022
@mpdude mpdude deleted the new-contracts branch February 1, 2022 08:58
mpdude added a commit that referenced this pull request Feb 1, 2022
…^4.2 (#28)

After #29 (released as `0.8.0`) implemented the new interfaces from `symfony/translation-contracts` in addition to the deprecated ones, this PR drops support for the old `\Symfony\Component\Translation\TranslatorInterface`.
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.

1 participant