Interface
StoreManagementInterface
Magento\Store\Api\StoreManagementInterface
What it does
This interface defines a contract for managing store-related operations in Magento 2.
Developers would use this interface to retrieve the total count of stores configured in the system.
It's commonly used when building multi-store features or when you need to determine how many stores exist in a Magento installation.
Public Methods
- getCount()