Elcodi\Admin\CoreBundle\Controller\Abstracts\AbstractStatsController::getTotalStats PHP Method

getTotalStats() protected method

return number of entity instances from the begining
protected getTotalStats ( string $entity ) : integer
$entity string Entity namespace parameter
return integer Total of instances
    protected function getTotalStats($entity)
    {
        return $this->getTotalsByInterval($entity);
    }