Reference
I
Interface

ApiPlatform\GraphQl\Subscription\SubscriptionManagerInterface

Manages all the queried subscriptions and creates their ID.

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

Methods

retrieveSubscriptionId

public retrieveSubscriptionId(array $context, null|array $result): string
public retrieveSubscriptionId(array $context, null|array $result): string

Parameters

contextarray
resultarray

Returns

string

getPushPayloads

public getPushPayloads(object $object): array
public getPushPayloads(object $object): array

Parameters

objectobject

Returns

array

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop