MetricInputMapperInterface
MetricInputMapperInterface.php
:
20
Interface
Maps a source event object to a normalized metric input.
Implementations are registered with the "ibexa.data_layer.metric_input_mapper" service tag. Every mapper supporting an event contributes its input, in tag priority order. When two mappers return an input of the same class for one event, only the first one is kept; the built-in mappers are tagged with priority 100, so their inputs win over a project mapper with the default one.
Methods¶
map()
¶
MetricInputMapperInterface.php
:
24
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $event | object | - | - |
Return values
supports()
¶
MetricInputMapperInterface.php
:
22
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $event | object | - | - |
Return values
bool