Log in
Interface

CategoryListInterface

Magento\Catalog\Api\CategoryListInterface

What it does

This interface defines a contract for retrieving a filtered list of catalog categories in Magento 2.

Developers use this to programmatically fetch categories based on search criteria like filtering, sorting, and pagination.

It's commonly used in custom modules, API integrations, or when you need to retrieve specific categories without loading the entire category tree.

Public Methods

  • getList()