Documentation

GetTextStatistics

Use case for retrieving text statistics for home page display.

Tags
since
3.0.0

Table of Contents

Properties

$statsService  : TextStatisticsService

Methods

__construct()  : mixed
Constructor.
execute()  : array<string|int, mixed>|null
Execute the use case.

Properties

Methods

execute()

Execute the use case.

public execute(int $textId, array<string|int, mixed> $textInfo) : array<string|int, mixed>|null
Parameters
$textId : int

Text ID

$textInfo : array<string|int, mixed>

Text info from GetDashboardData

Return values
array<string|int, mixed>|null

Text info with statistics, or null if no text


        
On this page

Search results