Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Translation] Remove TranslatorBagInterface to allow for optimized caching in 3.0#14530

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
mpdude wants to merge14 commits intosymfony:2.8fromwebfactory:drop-translator-bag
Closed
Changes from1 commit
Commits
Show all changes
14 commits
Select commitHold shift + click to select a range
65962c3
Add FallbackLocaleAwareInterface to obtain the locale actually used f…
mpdudeMay 3, 2015
2688b09
Keep test methods around as long as we still implement the interface
mpdudeMay 3, 2015
3077d80
Add note for future me.
mpdudeMay 3, 2015
fa055ec
For BC, use an adapter class to implement FallbackLocaleAwareInterfac…
mpdudeSep 24, 2015
e4bba37
Add deprecation notices to docblocks
mpdudeSep 24, 2015
372c247
Avoid unnecessary code change
mpdudeSep 24, 2015
98b1a74
use strict comparison
mpdudeSep 24, 2015
89df6f5
Use `if` instead of `elseif` because the `if` returns
mpdudeSep 24, 2015
24f0830
Update legacy tests
mpdudeSep 24, 2015
1364559
Improve deprecation notice
mpdudeSep 24, 2015
c0f6bf0
Improve docblock
mpdudeSep 24, 2015
4df5021
Fabbot
mpdudeSep 24, 2015
2a72a09
We must not require clients to implement a deprecated interface
mpdudeSep 25, 2015
ad53737
Typo pointed out by FabBot
mpdudeSep 27, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
Improve docblock
  • Loading branch information
@mpdude
mpdude committedOct 3, 2015
commitc0f6bf02ebef9dcc9439409d4ec759ecdc0ad52e
5 changes: 4 additions & 1 deletionsrc/Symfony/Component/Translation/Translator.php
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -494,7 +494,10 @@ private function getConfigCacheFactory()
}

/**
* Could be renamed back to getCatalogue() and made private once we drop TranslatorBagInterface in 3.0.
* Used internally to circumvent deprecation message in getCatalogue().
*
* Once TranslatorBagInterface has been removed in 3.0, we should rename this back to getCatalogue()
* but keep it private.
*
* @param string $locale
*
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp