public function StatisticsViewsResult::__construct in Drupal 8
Same name and namespace in other branches
- 9 core/modules/statistics/src/StatisticsViewsResult.php \Drupal\statistics\StatisticsViewsResult::__construct()
File
- core/
modules/ statistics/ src/ StatisticsViewsResult.php, line 25
Class
- StatisticsViewsResult
- Value object for passing statistic results.
Namespace
Drupal\statisticsCode
public function __construct($total_count, $day_count, $timestamp) {
$this->totalCount = (int) $total_count;
$this->dayCount = (int) $day_count;
$this->timestamp = (int) $timestamp;
}