FooterExtension
class FooterExtension extends Twig_Extension
Class FooterExtension is injected as twig.extension.empire.footer service. FooterExtension handles the logic and provides necessary data for managed entity in twig.
Constants
| CACHED_FOOTER |
Cache key |
Methods
__construct(mixed $cache, EventDispatcherInterface $dispatcher)
FooterExtension constructor.
getFunctions()
{@inheritdoc}
bool
getFooterCache(mixed $locale)
Get footer from cache or generate cache
string
getName()
Returns the name of the extension.
Details
at line 45
__construct(mixed $cache, EventDispatcherInterface $dispatcher)
FooterExtension constructor.
at line 54
getFunctions()
{@inheritdoc}
at line 68
bool
getFooterCache(mixed $locale)
Get footer from cache or generate cache
at line 87
string
getName()
Returns the name of the extension.