Log in
Interface

ContextValueInterface

Magento\GraphQlServer\Model\Context\ContextValueInterface

What it does

This interface defines a contract for context value objects used in GraphQL server operations.

Developers implement this interface to create custom context values that can be passed through GraphQL requests, allowing key-value pairs to be stored and accessed throughout the GraphQL execution lifecycle.

Public Methods

  • getKey()
  • getValue()