public function DefaultTranslator::setLocale in Plug 7
Not supported.
Parameters
string $locale The locale:
Throws
Overrides TranslatorInterface::setLocale
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ DefaultTranslator.php, line 153
Class
- DefaultTranslator
- Simple translator implementation that simply replaces the parameters in the message IDs.
Namespace
Symfony\Component\ValidatorCode
public function setLocale($locale) {
throw new BadMethodCallException('Unsupported method.');
}