Copied!

EventMappingStrategyInterface

EventMappingStrategyInterface.php : 16
Interface

Strategy interface for mapping domain objects to tracking events.

Methods

publicgetPriority()

EventMappingStrategyInterface.php : 29
public getPriority() : int

Return values

int

publicmap()

EventMappingStrategyInterface.php : 23
public map(EventType $eventType, mixed $data[, array<string, mixed> $context = [] ]) : EventDataInterface

Parameters

Name Type Default value Description
$eventType EventType - -
$data mixed - -
$context array<string, mixed> [] -

Return values

EventDataInterface

publicsupports()

EventMappingStrategyInterface.php : 18
public supports(EventType $eventType) : bool

Parameters

Name Type Default value Description
$eventType EventType - -

Return values

bool