You are here

interface EdgeInterface in Open Social 10.3.x

Same name and namespace in other branches
  1. 10.0.x modules/custom/social_graphql/src/Wrappers/EdgeInterface.php \Drupal\social_graphql\Wrappers\EdgeInterface
  2. 10.1.x modules/custom/social_graphql/src/Wrappers/EdgeInterface.php \Drupal\social_graphql\Wrappers\EdgeInterface
  3. 10.2.x modules/custom/social_graphql/src/Wrappers/EdgeInterface.php \Drupal\social_graphql\Wrappers\EdgeInterface

Provides a common interface for edges that DataProducers can work with.

Hierarchy

Expanded class hierarchy of EdgeInterface

All classes that implement EdgeInterface

2 files declare their use of EdgeInterface
EdgeCursor.php in modules/custom/social_graphql/src/Plugin/GraphQL/DataProducer/Edge/EdgeCursor.php
EdgeNode.php in modules/custom/social_graphql/src/Plugin/GraphQL/DataProducer/Edge/EdgeNode.php

File

modules/custom/social_graphql/src/Wrappers/EdgeInterface.php, line 8

Namespace

Drupal\social_graphql\Wrappers
View source
interface EdgeInterface {

  /**
   * Return the cursor for this edge.
   */
  public function getCursor() : string;

  /**
   * Return the node for this edge.
   */
  public function getNode();

}

Members

Namesort descending Modifiers Type Description Overrides
EdgeInterface::getCursor public function Return the cursor for this edge.
EdgeInterface::getNode public function Return the node for this edge.