Log in
Interface

HydratorProviderInterface

Magento\GraphQlResolverCache\Model\Resolver\Result\HydratorProviderInterface

What it does

This interface defines a provider that returns the appropriate hydrator for a given GraphQL resolver.

Developers would implement this interface when building caching mechanisms for GraphQL resolvers, allowing them to map specific resolvers to their corresponding hydrator implementations that handle serialization and deserialization of cached resolver results.

Public Methods

  • getHydratorForResolver()