Log in
Model

CustomerExtractor

Magento\Customer\Model\CustomerExtractor

What it does

CustomerExtractor is a utility model that extracts and validates customer data from HTTP requests and transforms it into a CustomerInterface object.

Developers use this class when processing customer registration or profile update forms to convert raw request data into properly structured customer entities with appropriate store, website, and group assignments.

It handles form validation, data extraction, and ensures all required customer attributes are properly set based on the current store context.

Public Methods

  • extract()