You are here

public function StatisticsViewsResult::getDayCount in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/statistics/src/StatisticsViewsResult.php \Drupal\statistics\StatisticsViewsResult::getDayCount()
  2. 9 core/modules/statistics/src/StatisticsViewsResult.php \Drupal\statistics\StatisticsViewsResult::getDayCount()

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

Return value

int

File

core/modules/statistics/src/StatisticsViewsResult.php, line 45

Class

StatisticsViewsResult
Value object for passing statistic results.

Namespace

Drupal\statistics

Code

public function getDayCount() {
  return $this->dayCount;
}