You are here

RelayMutationPayloadInterface.php in Open Social 10.3.x

File

modules/custom/social_graphql/src/GraphQL/Payload/RelayMutationPayloadInterface.php
View source
<?php

declare (strict_types=1);
namespace Drupal\social_graphql\GraphQL\Payload;


/**
 * Response interface used for GraphQL responses.
 */
interface RelayMutationPayloadInterface extends PayloadInterface {

  /**
   * Set the client mutation identifier.
   *
   * @param string|null $client_mutation_id
   *   The unique identifier for the mutation.
   *
   * @return $this
   *   The modified payload.
   *
   * @see \Drupal\social_graphql\Wrappers\RelayMutationInputInterface::getClientMutationId()
   */
  public function setClientMutationId(?string $client_mutation_id) : self;

  /**
   * Get the client mutation identifier.
   *
   * @see \Drupal\social_graphql\Wrappers\RelayMutationInputInterface::getClientMutationId()
   */
  public function getClientMutationId() : ?string;

}

Interfaces

Namesort descending Description
RelayMutationPayloadInterface Response interface used for GraphQL responses.