Spaces:
No application file
No application file
File size: 569 Bytes
d2897cd |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
<?php
namespace Mautic\StatsBundle\Aggregate\Collection\Stats;
class HourStat
{
private int $count = 0;
/**
* @param string $hour "2018-12-07 12" format
*/
public function __construct(
private $hour
) {
}
/**
* @return string
*/
public function getHour()
{
return $this->hour;
}
/**
* @param int $count
*/
public function setCount($count): void
{
$this->count = (int) $count;
}
public function getCount(): int
{
return $this->count;
}
}
|