Elcodi\Admin\CoreBundle\Controller\Abstracts\AbstractStatsController::getDailyStats PHP Метод

getDailyStats() защищенный Метод

return number of entity instances from today
protected getDailyStats ( string $entity ) : integer
$entity string Entity namespace parameter
Результат integer Total of today instances
    protected function getDailyStats($entity)
    {
        return $this->getTotalsByInterval($entity, new DateTime('today midnight'), new DateTime());
    }