-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Translation] Translator::getMessages() is not part of an interface #14529
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
Comments
It was useful before adding getCatalogue until now I think we need to deprecate it. |
|
The fact that it is not part of the interface means you cannot use it when you depend on the interface (which should be the case everywhere to be compatible with composition, as used in Symfony itself)
Btw, I think |
done #14546 |
…logue. (aitboudad) This PR was merged into the 2.8 branch. Discussion ---------- [Translator] deprecate getMessages in favor of getCatalogue. | Q | A | ------------- | --- | Bug fix? | no | New feature? | yes | BC breaks? | no | Deprecations? | no | Fixed tickets | #14529 | Tests pass? | yes | License | MIT Commits ------- 2869a32 [Translator] deprecate getMessages in favor of getCatalogue.
The
Translator::getMessages()
method is not part of any of the interfacesTranslator
implements. But as theTranslator
is@api
, it probably is something "official".FWIW, inside Symfony this method is used only from tests.
Is that something that should be adressed? If not, feel free to close this issue.
The text was updated successfully, but these errors were encountered: