IdentityTranslator

IdentityTranslator

class IdentityTranslator implements TranslatorInterface

IdentityTranslator does not translate anything.

Methods

__construct(MessageSelector $selector = null)

Constructor.

setLocale(string $locale)

Sets the current locale.

string getLocale()

Returns the current locale.

string trans(string $id, array $parameters = array(), string|null $domai