Asserts that the locale is valid, throws an Exception if not.
protected assertValidLocale ( string $locale ) | ||
$locale | string | Locale to tests |
protected function assertValidLocale($locale) { try { parent::assertValidLocale($locale); } catch (InvalidArgumentException $ex) { } }