GenericDefault
Magento\Shipping\Model\Carrier\Source\GenericDefault
What it does
This class serves as a default implementation for shipping carrier source models in Magento 2.
It provides a basic structure that returns an empty array of options, acting as a placeholder or base class that can be extended by specific shipping carriers to provide their own configuration options.
Developers would use this when creating custom shipping methods that need to implement the GenericInterface but don't require any default options.
Public Methods
- toOptionArray()