Returns the number of products in $category (maxed by $limit).
public getProductCount ( Sonata\ClassificationBundle\Model\CategoryInterface $category, $limit = 1000 ) : integer | ||
$category | Sonata\ClassificationBundle\Model\CategoryInterface | |
Результат | integer |