Documentation

GetCalendarHeatmapData

Returns daily activity totals for the last 365 days.

Output is keyed by date string, ready for the frontend calendar heatmap.

Tags
since
3.0.0

Table of Contents

Properties

$repository  : ActivityRepositoryInterface

Methods

__construct()  : mixed
Constructor.
execute()  : array<string, array{total: int, created: int, reviewed: int, read: int}>
Execute the use case.

Properties

Methods

execute()

Execute the use case.

public execute() : array<string, array{total: int, created: int, reviewed: int, read: int}>
Return values
array<string, array{total: int, created: int, reviewed: int, read: int}>

Date (Y-m-d) => activity breakdown


        
On this page

Search results