You are here

public function NullType::coerce in GraphQL 8.2

Same name and namespace in other branches
  1. 8 src/NullType.php \Drupal\graphql\NullType::coerce()

Parameters

mixed $value:

Return value

mixed

File

src/NullType.php, line 17

Class

NullType

Namespace

Drupal\graphql

Code

public function coerce($value) {
  return NULL;
}