assertValidLocale() защищенный Метод

Asserts that the locale is valid, throws an Exception if not.
protected assertValidLocale ( string $locale )
$locale string Locale to tests
Пример #1
0
 protected function assertValidLocale($locale)
 {
     try {
         parent::assertValidLocale($locale);
     } catch (InvalidArgumentException $ex) {
     }
 }