Log in
Collection

Address\Collection

Magento\Customer\Model\ResourceModel\Address\Collection

What it does

This collection class manages groups of customer address records in Magento 2.

Developers use it to retrieve and filter customer addresses from the database, particularly when they need to load all addresses belonging to specific customers.

The setCustomerFilter method allows filtering addresses by customer ID or multiple customer IDs.

Public Methods

  • setCustomerFilter()