Copied!

MapUpdateDataToStructEvent

MapUpdateDataToStructEvent.php : 15
Final
Extends Event

Event is the base class for classes containing event data.

This class contains no event data. It is used by events that do not pass state information to an event handler when an event is raised.

You can call the method stopPropagation() to abort the execution of further listeners in your event listener.

Methods

public__construct()

MapUpdateDataToStructEvent.php : 28
public __construct(DiscountInterface $discount, DiscountUpdateStruct $struct, object $step)

Parameters

Name Type Default value Description
$discount DiscountInterface - -
$struct DiscountUpdateStruct - -
$step object - -

publiccreateEventName()

MapUpdateDataToStructEvent.php : 23
public static createEventName(string $stepName) : string

Parameters

Name Type Default value Description
$stepName string - -

Return values

string

publicgetDiscount()

MapUpdateDataToStructEvent.php : 38
public getDiscount() : DiscountInterface

Return values

DiscountInterface

publicgetStep()

MapUpdateDataToStructEvent.php : 48
public getStep() : object

Return values

object

publicgetStruct()

MapUpdateDataToStructEvent.php : 43
public getStruct() : DiscountUpdateStruct

Return values

DiscountUpdateStruct

publicisPropagationStopped()

Event.php : 38
public isPropagationStopped() : bool

Return values

bool

publicstopPropagation()

Event.php : 50

Stops the propagation of the event to further event listeners.

public stopPropagation() : void

If multiple event listeners are connected to the same event, no further event listener will be triggered once any trigger calls stopPropagation().