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
@trigger_error('The'.__METHOD__.' method is deprecated since version 2.8 and will be removed in 3.0. Rely onCacheMessageCatalogueProvider instead.',E_USER_DEPRECATED);
120
+
@trigger_error('The'.__METHOD__.' method is deprecated since version 2.8 and will be removed in 3.0. Rely onCachedMessageCatalogueProvider instead.',E_USER_DEPRECATED);
if ($this->isMethodOverwritten('loadCatalogue')) {
280
276
@trigger_error('The Translator::loadCatalogue method is deprecated since version 2.8 and will be removed in 3.0. Rely on MessageCatalogueProviderInterface::getCatalogue() instead.',E_USER_DEPRECATED);
@trigger_error('The Translator::initializeCatalogue method is deprecated since version 2.8 and will be removed in 3.0. Rely on MessageCatalogueProviderInterface::getCatalogue() instead.',E_USER_DEPRECATED);
@trigger_error('The Translator::computeFallbackLocales method is deprecated since version 2.8 and will be removed in 3.0. Rely on ResourceMessageCatalogueProvider instead.',E_USER_DEPRECATED);
@trigger_error('The Translator::getLoaders method is deprecated since version 2.8 and will be removed in 3.0. Rely on ResourceMessageCatalogueProvider::getLoaders instead.',E_USER_DEPRECATED);
299
281
}
300
282
@@ -347,6 +329,10 @@ public function getMessages($locale = null)
347
329
*/
348
330
protectedfunctionloadCatalogue($locale)
349
331
{
332
+
if ($this->isMethodOverwritten('initializeCatalogue')) {
333
+
@trigger_error('The Translator::initializeCatalogue method is deprecated since version 2.8 and will be removed in 3.0. Rely on MessageCatalogueProviderInterface::getCatalogue() instead.',E_USER_DEPRECATED);
334
+
}
335
+
350
336
if (null ===$this->cacheDir) {
351
337
$this->initializeCatalogue($locale);
352
338
}else {
@@ -363,6 +349,10 @@ protected function initializeCatalogue($locale)
363
349
{
364
350
$this->assertValidLocale($locale);
365
351
352
+
if ($this->isMethodOverwritten('computeFallbackLocales')) {
353
+
@trigger_error('The Translator::computeFallbackLocales method is deprecated since version 2.8 and will be removed in 3.0. Rely on ResourceMessageCatalogueProvider instead.',E_USER_DEPRECATED);