Log in
Model

Street

Magento\Customer\Model\Validator\Street

What it does

This validator class ensures that customer street address fields contain only allowed characters like letters, numbers, common punctuation, and spaces.

Developers would use this class when validating customer address data before saving to ensure street addresses meet Magento's format requirements and prevent invalid characters from being stored in the database.

Public Methods

  • isValid()