Log in
Model

Currency

Magento\DirectoryGraphQl\Model\Resolver\Currency

What it does

This GraphQL resolver provides currency information for GraphQL queries in Magento 2.

Developers use this class when they need to expose available currencies, exchange rates, and currency symbols through the GraphQL API.

It retrieves currency data from the store configuration and formats it for GraphQL responses.

Public Methods

  • resolve()