class AttributeSetEventContainer

Class AttributeSetEventContainer is injected as alligator.attribute_set.event.container. This container is connecting attribute set manager to other services

Methods

__construct(ContainerInterface $container)

No description

mixed
findAttributes(ArrayCollection $attributes)

Find all attributes that match provided ids

array
findAllAttributes()

Find all attributes sorted by id in descending order

array
findAllAttributesWithAttributeValues()

Find all attributes(with attribute values)

dispatchGenerateAttrSetTranslationSignal(mixed $attributeSet)

Dispatch event to generate attribute set translations

dispatchRemoveAttributeSetTranslations(mixed $keys)

Dispatch event to remove attribute set translations

Details

at line 28
__construct(ContainerInterface $container)

Parameters

ContainerInterface $container

at line 40
mixed findAttributes(ArrayCollection $attributes)

Find all attributes that match provided ids

Parameters

ArrayCollection $attributes

Return Value

mixed

at line 50
array findAllAttributes()

Find all attributes sorted by id in descending order

Return Value

array

at line 60
array findAllAttributesWithAttributeValues()

Find all attributes(with attribute values)

Return Value

array

at line 70
dispatchGenerateAttrSetTranslationSignal(mixed $attributeSet)

Dispatch event to generate attribute set translations

Parameters

mixed $attributeSet

at line 80
dispatchRemoveAttributeSetTranslations(mixed $keys)

Dispatch event to remove attribute set translations

Parameters

mixed $keys