Contract for KPI data providers delivering live metric values.
Implementations must return a valid associative array that represents a complete KPI snapshot suitable for rendering inside UI5 dashboards.
A provider receives the aggregation level (e.g., monthly, weekly) and a set of context parameters (e.g. 'project_id' => 42) to produce the data.
| Methods | ||
|---|---|---|
public
|
toJson(AggregationLevel $aggregationLevel, array<string, mixed> $context): array<string, mixed>
|
# |