interface EdgeInterface in Open Social 10.3.x
Same name and namespace in other branches
- 10.0.x modules/custom/social_graphql/src/Wrappers/EdgeInterface.php \Drupal\social_graphql\Wrappers\EdgeInterface
- 10.1.x modules/custom/social_graphql/src/Wrappers/EdgeInterface.php \Drupal\social_graphql\Wrappers\EdgeInterface
- 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
- interface \Drupal\social_graphql\Wrappers\EdgeInterface
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\WrappersView source
interface EdgeInterface {
/**
* Return the cursor for this edge.
*/
public function getCursor() : string;
/**
* Return the node for this edge.
*/
public function getNode();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
EdgeInterface:: |
public | function | Return the cursor for this edge. | |
EdgeInterface:: |
public | function | Return the node for this edge. |