Collection
Wishlist\Collection
Magento\Wishlist\Model\ResourceModel\Wishlist\Collection
What it does
This collection class retrieves and manages multiple wishlist records from the database.
Developers use it to load wishlists for specific customers, either individually or in bulk, making it essential for displaying customer wishlists or performing batch operations on wishlist data across multiple customers.
Public Methods
- filterByCustomerId()
- filterByCustomerIds()