Log in
Model

CategoryList

Magento\Catalog\Model\CategoryList

What it does

This class retrieves a list of categories based on search criteria and filtering requirements.

Developers use it when they need to fetch multiple categories programmatically with filters, sorting, and pagination applied through the SearchCriteria API.

It implements the CategoryListInterface to provide a standardized way to query and return category collections with their full repository data.

Public Methods

  • getList()