|null */ public $variables; /** * The client given operation name. * * @var string|null */ public $operationName; /** * The context for the operation. * * @var \Nuwave\Lighthouse\Support\Contracts\GraphQLContext */ public $context; /** * The point in time when the query execution started. * * @var \Illuminate\Support\Carbon */ public $moment; /** * @param array|null $variables */ public function __construct(DocumentNode $query, ?array $variables, ?string $operationName, GraphQLContext $context) { $this->query = $query; $this->variables = $variables; $this->operationName = $operationName; $this->context = $context; $this->moment = Carbon::now(); } }