class AlbumsEventContainer

Class AlbumsEventContainer is injected as empire_albums_plugin.albums.event.container. This container is connecting AlbumsManager to other services

Constants

ALBUMS_CACHE

Albums cache key

Methods

__construct(ContainerInterface $container)

No description

Translator
getTranslator()

Get Translator service

mixed
getTemplating()

Get Templating service

string
getAlbumsFromCache()

Get Albums Html from cache

mixed
setAlbumsToCache(mixed $data)

Set Album Html to cache

dispatchAlbumsCacheSignal(string $theme, string $locale)

Dispatch Album cache signal for requested theme and locale

Details

at line 32
__construct(ContainerInterface $container)

Parameters

ContainerInterface $container

at line 41
Translator getTranslator()

Get Translator service

Return Value

Translator

at line 50
mixed getTemplating()

Get Templating service

Return Value

mixed

at line 59
string getAlbumsFromCache()

Get Albums Html from cache

Return Value

string

at line 71
mixed setAlbumsToCache(mixed $data)

Set Album Html to cache

Parameters

mixed $data

Return Value

mixed

at line 83
SignalCacheAlbumEvent dispatchAlbumsCacheSignal(string $theme, string $locale)

Dispatch Album cache signal for requested theme and locale

Parameters

string $theme
string $locale

Return Value

SignalCacheAlbumEvent