Method | Description | |
---|---|---|
addResources ( Silex\Application $app, string $locale ) : array | Adds all resources that belong to a locale. | |
boot ( Silex\Application $app ) | ||
register ( Silex\Application $app ) |
Method | Description | |
---|---|---|
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 | |
return | array |
protected mergeGenericLocales ( array $inputLocales ) : string[] | ||
$inputLocales | array | |
return | string[] |
protected mergeUtf8Locales ( array $inputLocales ) : string[] | ||
$inputLocales | array | |
return | string[] |
protected setDefaultTimezone ( Silex\Application $app ) | ||
$app | Silex\Application |