Метод | Описание | |
---|---|---|
addResources ( Silex\Application $app, string $locale ) : array | Adds all resources that belong to a locale. | |
boot ( Silex\Application $app ) | ||
register ( Silex\Application $app ) |
Метод | Описание | |
---|---|---|
mergeGenericLocales ( array $inputLocales ) : string[] | Adds generic locales into a given list. | |
mergeUtf8Locales ( array $inputLocales ) : string[] | Adds UTF-8 suffixes for each locale in given list. | |
setDefaultTimezone ( Silex\Application $app ) |
public static addResources ( Silex\Application $app, string $locale ) : array | ||
$app | Silex\Application | |
$locale | string | |
Результат | array |
protected mergeGenericLocales ( array $inputLocales ) : string[] | ||
$inputLocales | array | |
Результат | string[] |
protected mergeUtf8Locales ( array $inputLocales ) : string[] | ||
$inputLocales | array | |
Результат | string[] |
protected setDefaultTimezone ( Silex\Application $app ) | ||
$app | Silex\Application |