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

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

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