AddressRepository
Magento\Customer\Model\ResourceModel\AddressRepository
What it does
The AddressRepository class is the main entry point for managing customer addresses in Magento 2.
Developers use this class to perform CRUD operations (Create, Read, Update, Delete) on customer addresses, retrieve addresses by ID, or get filtered lists of addresses using search criteria.
It implements the AddressRepositoryInterface and handles address validation, storage, and registry updates.
Public Methods
- save()
- getById()
- getList()
- delete()
- deleteById()