You are here

public static function ScalarPluginBase::parseLiteral in GraphQL 8.3

Parses a node.

Parameters

mixed $node: The node to parse.

Return value

mixed The parsed node.

3 methods override ScalarPluginBase::parseLiteral()
Any::parseLiteral in modules/graphql_core/src/Plugin/GraphQL/Scalars/TypedData/Any.php
Parses a node.
Map::parseLiteral in modules/graphql_core/src/Plugin/GraphQL/Scalars/TypedData/Map.php
Parses a node.
Upload::parseLiteral in src/Plugin/GraphQL/Scalars/Upload/Upload.php
Parses a node.

File

src/Plugin/GraphQL/Scalars/ScalarPluginBase.php, line 82

Class

ScalarPluginBase

Namespace

Drupal\graphql\Plugin\GraphQL\Scalars

Code

public static function parseLiteral($node) {
  throw new \LogicException('Missing method.');
}