References OperationAwareSubscriptionManagerInterface
Reference
I
Interface

ApiPlatform\GraphQl\Subscription\OperationAwareSubscriptionManagerInterface

Manages all the queried subscriptions and creates their ID.

interface ApiPlatform\GraphQl\Subscription\OperationAwareSubscriptionManagerInterface implements ApiPlatform\GraphQl\Subscription\SubscriptionManagerInterface
{
    public retrieveSubscriptionId(array $context, null|array $result, null|ApiPlatform\Metadata\GraphQl\Operation $operation): string
    public getPushPayloads(object $object): array
}

Methods

retrieveSubscriptionId

public retrieveSubscriptionId(array $context, null|array $result, null|ApiPlatform\Metadata\GraphQl\Operation $operation): string

Parameters

contextarray
resultarray
operation`ApiPlatform\Metadata\GraphQl\Operation`

Returns

string

Made with love by

Les-Tilleuls.coop can help you design and develop your APIs and web projects, and train your teams in API Platform, Symfony, Next.js, Kubernetes and a wide range of other technologies.

Learn more

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop