class AlligatorBrandExtension extends Twig_Extension

Class AlligatorBrandExtension is injected as twig.extension.alligator.brand service. AlligatorBrandExtension handles the logic and provides necessary data for managed entity in twig.

Constants

CACHED_BRANDS

Properties

protected BrandManager $brandManager

Methods

__construct(BrandManager $brandManager)

No description

getFunctions()

{@inheritdoc}

mixed
getMegamenuBrands()

No description

mixed
getBrandsFromCache(String $theme, String $locale)

No description

string
getName()

Returns the name of the extension.

Details

at line 43
__construct(BrandManager $brandManager)

Parameters

BrandManager $brandManager

at line 51
getFunctions()

{@inheritdoc}

at line 62
mixed getMegamenuBrands()

Return Value

mixed

at line 77
mixed getBrandsFromCache(String $theme, String $locale)

Parameters

String $theme
String $locale

Return Value

mixed

at line 91
string getName()

Returns the name of the extension.

Return Value

string The extension name