TrendableDataSource
Corex\Config\Data\TrendableDataSource · interface · Config layer
An optional capability: a data source that can report a real per-day record count over a recent window, so the Data screen can draw a truthful activity chart. Days with no records report zero (never a fabricated value). Sources that do not implement it show a designed empty chart state instead.
Public API
Section titled “Public API”trend(int $days): array
Section titled “trend(int $days): array”Per-day counts for the last $days days, oldest first, every day present (zero-filled).