You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Translator.php
-22Lines changed: 0 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -265,28 +265,6 @@ protected function getLoaders()
265
265
return$this->loaders;
266
266
}
267
267
268
-
/**
269
-
* Collects all messages for the given locale.
270
-
*
271
-
* @param string|null $locale Locale of translations, by default is current locale
272
-
*
273
-
* @return array[array] indexed by catalog
274
-
*
275
-
* @deprecated since version 2.8, to be removed in 3.0. Use TranslatorBagInterface::getCatalogue() method instead.
276
-
*/
277
-
publicfunctiongetMessages($locale = null)
278
-
{
279
-
@trigger_error('The '.__METHOD__.' method is deprecated since version 2.8 and will be removed in 3.0. Use TranslatorBagInterface::getCatalogue() method instead.', E_USER_DEPRECATED);
280
-
281
-
$catalogue = $this->getCatalogue($locale);
282
-
$messages = $catalogue->all();
283
-
while ($catalogue = $catalogue->getFallbackCatalogue()) {
0 commit comments