This commit is contained in:
Fabien Potencier 2014-08-27 14:56:02 +02:00
parent 31d2f6b296
commit 1d027be648

View File

@ -252,13 +252,11 @@ class Translator implements TranslatorInterface
}
/**
* Collects all messages.
*
* Collects all messages for the given locale.
*
* @param string|null $locale Locale of translations, by default is current locale
*
* @return array[array] indexed by catalog.
* @return array[array] indexed by catalog
*/
public function getMessages($locale = null)
{