package and depencies
This commit is contained in:
@@ -16,16 +16,12 @@ interface LocaleAwareInterface
|
||||
/**
|
||||
* Sets the current locale.
|
||||
*
|
||||
* @param string $locale The locale
|
||||
*
|
||||
* @throws \InvalidArgumentException If the locale contains invalid characters
|
||||
*/
|
||||
public function setLocale(string $locale);
|
||||
|
||||
/**
|
||||
* Returns the current locale.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getLocale();
|
||||
public function getLocale(): string;
|
||||
}
|
||||
|
Reference in New Issue
Block a user