class UncacheableValue in GraphQL 8.3
Hierarchy
- class \Drupal\Core\Cache\CacheableMetadata implements RefinableCacheableDependencyInterface uses RefinableCacheableDependencyTrait
- class \Drupal\graphql\GraphQL\Cache\CacheableValue implements ValueWrapperInterface
- class \Drupal\graphql\GraphQL\Cache\UncacheableValue
- class \Drupal\graphql\GraphQL\Cache\CacheableValue implements ValueWrapperInterface
Expanded class hierarchy of UncacheableValue
File
- src/
GraphQL/ Cache/ UncacheableValue.php, line 5
Namespace
Drupal\graphql\GraphQL\CacheView source
class UncacheableValue extends CacheableValue {
/**
* {@inheritdoc}
*/
protected $cacheMaxAge = 0;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
CacheableDependencyTrait:: |
protected | property | Cache contexts. | |
CacheableDependencyTrait:: |
protected | property | Cache tags. | |
CacheableDependencyTrait:: |
protected | function | Sets cacheability; useful for value object constructors. | |
CacheableMetadata:: |
public | function | Applies the values of this CacheableMetadata object to a render array. | 1 |
CacheableMetadata:: |
public static | function | Creates a CacheableMetadata object from a depended object. | 1 |
CacheableMetadata:: |
public static | function | Creates a CacheableMetadata object with values taken from a render array. | 1 |
CacheableMetadata:: |
public | function |
The cache contexts associated with this object. Overrides CacheableDependencyTrait:: |
|
CacheableMetadata:: |
public | function |
The maximum age for which this object may be cached. Overrides CacheableDependencyTrait:: |
|
CacheableMetadata:: |
public | function |
The cache tags associated with this object. Overrides CacheableDependencyTrait:: |
|
CacheableMetadata:: |
public | function | Merges the values of another CacheableMetadata object with this one. | 1 |
CacheableMetadata:: |
public | function | Sets cache contexts. | |
CacheableMetadata:: |
public | function | Sets the maximum age (in seconds). | |
CacheableMetadata:: |
public | function | Sets cache tags. | |
CacheableValue:: |
protected | property | The actual value being wrapped. | |
CacheableValue:: |
public | function |
Get the wrapped value. Overrides ValueWrapperInterface:: |
|
CacheableValue:: |
public | function |
Set the wrapped value. Overrides ValueWrapperInterface:: |
|
CacheableValue:: |
public | function | CacheableValue constructor. | |
RefinableCacheableDependencyTrait:: |
public | function | 1 | |
RefinableCacheableDependencyTrait:: |
public | function | ||
RefinableCacheableDependencyTrait:: |
public | function | ||
RefinableCacheableDependencyTrait:: |
public | function | ||
UncacheableValue:: |
protected | property |
Cache max-age. Overrides CacheableDependencyTrait:: |