Log in
Interface

DehydratorProviderInterface

Magento\GraphQlResolverCache\Model\Resolver\Result\DehydratorProviderInterface

What it does

This interface defines a contract for providing dehydrator instances based on specific GraphQL resolvers.

Developers implement this interface to create a provider that returns the appropriate dehydrator for serializing/preparing resolver results for caching, or null if no dehydrator is configured for that resolver.

Public Methods

  • getDehydratorForResolver()