public function testValidCountry() { $this->assertTrue(Locale::isValid('nl-be')); }
/** * Sets an validates the locale * * @param string $locale * * @return \ZalandoPHP\Configuration\GenericConfiguration */ public function setLocale($locale) { Locale::isValid($locale); $this->locale = strtolower($locale); return $this; }