Model
EnvironmentType
Magento\PaymentServicesBase\Model\Adminhtml\Source\EnvironmentType
What it does
This class provides environment type options for payment services configuration in the Magento admin panel.
Developers use this as a source model in system.xml configuration to display a dropdown allowing merchants to select between Sandbox and Production environments for payment gateway integrations.
Public Methods
- toOptionArray()