public function DefaultTranslator::setLocale in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/DefaultTranslator.php \Symfony\Component\Validator\DefaultTranslator::setLocale()
Not supported.
Parameters
string $locale The locale:
Throws
Overrides TranslatorInterface::setLocale
File
- vendor/
symfony/ validator/ DefaultTranslator.php, line 157
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.');
}