class StatisticsViewsResult (View source)

Value object for passing statistic results.

Properties

protected int $totalCount
protected int $dayCount
protected int $timestamp

Methods

__construct($total_count, $day_count, $timestamp)

No description

int
getTotalCount()

Total number of times the entity has been viewed.

int
getDayCount()

Total number of times the entity has been viewed "today".

int
getTimestamp()

Timestamp of when the entity was last viewed.

Details

__construct($total_count, $day_count, $timestamp)

No description

Parameters

$total_count
$day_count
$timestamp

int getTotalCount()

Total number of times the entity has been viewed.

Return Value

int

int getDayCount()

Total number of times the entity has been viewed "today".

Return Value

int

int getTimestamp()

Timestamp of when the entity was last viewed.

Return Value

int