protected function getDailyStats($entity) { return $this->getTotalsByInterval($entity, new DateTime('today midnight'), new DateTime()); }