Sets the current locale.
void
\InvalidArgumentException If the locale contains invalid characters
public function setLocale(string $locale);