You are here

public function CacheableValue::setValue in GraphQL 8.3

Set the wrapped value.

Parameters

mixed $value:

Overrides ValueWrapperInterface::setValue

File

src/GraphQL/Cache/CacheableValue.php, line 52

Class

CacheableValue
Wrapper class for transporting cache metadata for resolved values.

Namespace

Drupal\graphql\GraphQL\Cache

Code

public function setValue($value) {
  $this->value = $value;
}