GetTodaySummary
in package
Returns today's activity counters.
Tags
Table of Contents
Properties
Methods
- __construct() : mixed
- Constructor.
- execute() : array{terms_created: int, terms_reviewed: int, texts_read: int}
- Execute the use case.
Properties
$repository
private
ActivityRepositoryInterface
$repository
Methods
__construct()
Constructor.
public
__construct(ActivityRepositoryInterface $repository) : mixed
Parameters
- $repository : ActivityRepositoryInterface
-
Activity repository
execute()
Execute the use case.
public
execute() : array{terms_created: int, terms_reviewed: int, texts_read: int}