Model
ProductManagement
Magento\Catalog\Model\ProductManagement
What it does
This class provides product management functionality, specifically counting products in the catalog.
Developers use it to retrieve the total number of products, optionally filtered by enabled or disabled status, through the ProductManagementInterface API.
Public Methods
- getCount()