class EditBrand extends AbstractBrandCrudEvent

Class EditBrand 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 edit event and pass brand data

Details

setDispatcher(EventDispatcherInterface $dispatcher)

Parameters

EventDispatcherInterface $dispatcher

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

Dispatch brand edit event and pass brand data

Parameters

Brand $brand
Brand $receivedBrand

Return Value

mixed