Model
Provider
Magento\Tax\Model\Rate\Provider
What it does
This class provides tax rates from the repository as formatted option arrays suitable for dropdown/select elements in the admin panel or frontend forms.
Developers use this when they need to display a list of available tax rates for selection, with the results being paginated and converted into a standardized key-value format using tax rate IDs and codes.
Public Methods
- toOptionArray()
- getPageSize()