Log in
Collection

Accounts\Collection

Magento\Reports\Model\ResourceModel\Accounts\Collection

What it does

This collection class is used to retrieve and aggregate new customer account data for reporting purposes in Magento 2.

Developers use it when generating reports about customer account creation, filtering by date ranges and store IDs to count how many new accounts were created within specific time periods and stores.

Public Methods

  • setDateRange()
  • setStoreIds()