class SurveyCategoryEventContainer

Class SurveyCategoryEventContainer is injected as alligator.survey.category.event.container. This container is connecting manager to other services

Constants

SURVEY_CATEGORY_SIDE_BAR_CACHE

Survey category sidebar cache key

Methods

__construct(ContainerInterface $container)

No description

array|string
getAllTreeCategoriesForCategoryAddTree(null $locale = null)

Get all tree categories for category and tree structure

Router
getRouter()

Get router service

Translator
getTranslator()

Get translator service

mixed
getCacheCategoryTree(string $locale)

Get cache category tree

mixed
setCacheCategoryTree(mixed $data, string $locale)

Set cache category tree with data and locale

dispatchTreeGenerateSignal(string $locale)

Dispatch tree generate signal

Details

at line 30
__construct(ContainerInterface $container)

Parameters

ContainerInterface $container

at line 42
array|string getAllTreeCategoriesForCategoryAddTree(null $locale = null)

Get all tree categories for category and tree structure

Parameters

null $locale

Return Value

array|string

at line 52
Router getRouter()

Get router service

Return Value

Router

at line 62
Translator getTranslator()

Get translator service

Return Value

Translator

at line 74
mixed getCacheCategoryTree(string $locale)

Get cache category tree

Parameters

string $locale

Return Value

mixed

at line 87
mixed setCacheCategoryTree(mixed $data, string $locale)

Set cache category tree with data and locale

Parameters

mixed $data
string $locale

Return Value

mixed

at line 99
SurveySignalTreeEvent dispatchTreeGenerateSignal(string $locale)

Dispatch tree generate signal

Parameters

string $locale

Return Value

SurveySignalTreeEvent