Interface
ContextFactoryInterface
Magento\GraphQl\Model\Query\ContextFactoryInterface
What it does
This interface defines a factory for creating and retrieving GraphQL context objects that contain request-specific information like user authentication data.
Developers use this to access context information during GraphQL query execution, either by creating a new context with specific user data or retrieving a cached context instance.
Public Methods
- create()
- get()