Log in
Interface

WebsiteManagementInterface

Magento\Store\Api\WebsiteManagementInterface

What it does

This interface defines a contract for retrieving the total number of websites in a Magento installation.

Developers use this when they need to check how many websites exist in a multi-website setup, such as for analytics, reporting, or conditional logic based on website count.

Public Methods

  • getCount()