public function ConnectionQueryHelperInterface::getCursorObject in Open Social 10.1.x
Same name and namespace in other branches
- 10.3.x modules/custom/social_graphql/src/GraphQL/ConnectionQueryHelperInterface.php \Drupal\social_graphql\GraphQL\ConnectionQueryHelperInterface::getCursorObject()
- 10.0.x modules/custom/social_graphql/src/GraphQL/ConnectionQueryHelperInterface.php \Drupal\social_graphql\GraphQL\ConnectionQueryHelperInterface::getCursorObject()
- 10.2.x modules/custom/social_graphql/src/GraphQL/ConnectionQueryHelperInterface.php \Drupal\social_graphql\GraphQL\ConnectionQueryHelperInterface::getCursorObject()
Returns a cursor object for a given cursor string.
Parameters
string $cursor: A cursor string created obtained from an edge for the connection.
Return value
\Drupal\social_graphql\Wrappers\Cursor|null An object with the cursor information or null if it was an invalid cursor.
File
- modules/
custom/ social_graphql/ src/ GraphQL/ ConnectionQueryHelperInterface.php, line 39
Class
- ConnectionQueryHelperInterface
- Provides an interface for a connection query helper.
Namespace
Drupal\social_graphql\GraphQLCode
public function getCursorObject(string $cursor) : ?Cursor;