Not supported.
Parameters
string $locale The locale:
Throws
BadMethodCallException
Overrides TranslatorInterface::setLocale
File
- drupal/core/vendor/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\Validator
Code
public function setLocale($locale) {
throw new BadMethodCallException('Unsupported method.');
}