Model
Country
Magento\TwoFactorAuth\Model\Country
What it does
This model manages country data for the Two-Factor Authentication module, typically storing which countries are allowed or restricted for 2FA configuration.
Developers use this class to retrieve country information as a data object through the getDataModel() method, which converts the raw model data into a standardized CountryInterface object for use throughout the application.
Public Methods
- getDataModel()