Property | Type | Description | |
---|---|---|---|
$assets | |||
$locales | |||
$settings | Flarum\Settings\SettingsRepositoryInterface | ||
$view |
Method | Description | |
---|---|---|
__construct ( |
||
getAssets ( ) : |
||
getView ( ) : |
Method | Description | |
---|---|---|
getLayout ( ) : string | Get the path to the client layout view. | |
getName ( ) : string | Get the name of the client. | |
getTranslationFilter ( ) : string | Get a regular expression to match against translation keys. |
Method | Description | |
---|---|---|
addCustomLess ( |
||
addDefaultAssets ( |
||
addTranslations ( |
||
filterTranslations ( array $translations ) : array | Take a selection of keys from a collection of translations. | |
getLessVariables ( ) : array | Get the values of any LESS variables to compile into the CSS, based on the forum's configuration. |
public __construct ( |
||
$assets | ||
$view | ||
$settings | Flarum\Settings\SettingsRepositoryInterface | |
$locales |
protected getTranslationFilter ( ) : string | ||
return | string |
protected WebAppAssetsFactory,Flarum\Http\WebApp $assets | ||
return |
protected LocaleManager,Flarum\Locale $locales | ||
return |
protected SettingsRepositoryInterface,Flarum\Settings $settings | ||
return | Flarum\Settings\SettingsRepositoryInterface |