Copied!

EventMapperInterface

EventMapperInterface.php : 17
Interface

Maps domain objects to tracking event data using registered strategies.

Methods

publicmap()

EventMapperInterface.php : 24
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

Tags
Throws
InvalidArgumentException