class SaveBrand extends AbstractBrandCrudEvent

Class SaveBrand is event that is dispatched for handling entity logic in listeners and holds required data

Properties

protected EventDispatcherInterface $dispatcher from AbstractEntityCrudEvent

Methods

setDispatcher(EventDispatcherInterface $dispatcher)

No description

mixed
dispatchEvent(Brand $brand, Brand $receivedBrand)

Dispatch brand save event and pass brand data

Details

setDispatcher(EventDispatcherInterface $dispatcher)

Parameters

EventDispatcherInterface $dispatcher

at line 28
mixed dispatchEvent(Brand $brand, Brand $receivedBrand)

Dispatch brand save event and pass brand data

Parameters

Brand $brand
Brand $receivedBrand

Return Value

mixed