Log in
Interface

ConfigInterface

Magento\Directory\Model\Country\Postcode\ConfigInterface

What it does

This interface defines a contract for retrieving postcode validation patterns configured in Magento 2.

Developers would implement this interface when creating custom postcode validation services or when needing to access country-specific postal code format rules for address validation purposes.

Public Methods

  • getPostCodes()