public class SpincastTimeZonePebbleExtensionDefault extends com.mitchellbosecke.pebble.extension.AbstractExtension implements SpincastTimeZonePebbleExtension
| Modifier and Type | Field and Description |
|---|---|
static String |
FONCTION_NAME_TIMEZONE_COOKIE |
| Constructor and Description |
|---|
SpincastTimeZonePebbleExtensionDefault(TimeZoneResolver timeZoneResolver,
SpincastConfig spincastConfig,
SpincastUtils spincastUtils,
com.google.inject.Provider<RequestContext<?>> requestContextProvider,
SpincastTimeZoneResolverConfig spincastTimeZoneResolverConfig) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,com.mitchellbosecke.pebble.extension.Function> |
getFunctions() |
protected com.google.inject.Provider<RequestContext<?>> |
getRequestContextProvider() |
protected SpincastConfig |
getSpincastConfig() |
protected SpincastTimeZoneResolverConfig |
getSpincastTimeZoneResolverConfig() |
protected SpincastUtils |
getSpincastUtils() |
protected com.mitchellbosecke.pebble.extension.Function |
getTimeZoneCookieFunction() |
protected TimeZoneResolver |
getTimeZoneResolver() |
getBinaryOperators, getFilters, getGlobalVariables, getNodeVisitors, getTests, getTokenParsers, getUnaryOperatorspublic static final String FONCTION_NAME_TIMEZONE_COOKIE
@Inject public SpincastTimeZonePebbleExtensionDefault(TimeZoneResolver timeZoneResolver, SpincastConfig spincastConfig, SpincastUtils spincastUtils, com.google.inject.Provider<RequestContext<?>> requestContextProvider, SpincastTimeZoneResolverConfig spincastTimeZoneResolverConfig)
protected TimeZoneResolver getTimeZoneResolver()
protected SpincastConfig getSpincastConfig()
protected SpincastTimeZoneResolverConfig getSpincastTimeZoneResolverConfig()
protected SpincastUtils getSpincastUtils()
protected com.google.inject.Provider<RequestContext<?>> getRequestContextProvider()
public Map<String,com.mitchellbosecke.pebble.extension.Function> getFunctions()
getFunctions in interface com.mitchellbosecke.pebble.extension.ExtensiongetFunctions in class com.mitchellbosecke.pebble.extension.AbstractExtensionprotected com.mitchellbosecke.pebble.extension.Function getTimeZoneCookieFunction()
Copyright © 2019. All rights reserved.