You are here

class UncacheableValue in GraphQL 8.3

Hierarchy

Expanded class hierarchy of UncacheableValue

File

src/GraphQL/Cache/UncacheableValue.php, line 5

Namespace

Drupal\graphql\GraphQL\Cache
View source
class UncacheableValue extends CacheableValue {

  /**
   * {@inheritdoc}
   */
  protected $cacheMaxAge = 0;

}

Members

Namesort descending Modifiers Type Description Overrides
CacheableDependencyTrait::$cacheContexts protected property Cache contexts.
CacheableDependencyTrait::$cacheTags protected property Cache tags.
CacheableDependencyTrait::setCacheability protected function Sets cacheability; useful for value object constructors.
CacheableMetadata::applyTo public function Applies the values of this CacheableMetadata object to a render array. 1
CacheableMetadata::createFromObject public static function Creates a CacheableMetadata object from a depended object. 1
CacheableMetadata::createFromRenderArray public static function Creates a CacheableMetadata object with values taken from a render array. 1
CacheableMetadata::getCacheContexts public function The cache contexts associated with this object. Overrides CacheableDependencyTrait::getCacheContexts
CacheableMetadata::getCacheMaxAge public function The maximum age for which this object may be cached. Overrides CacheableDependencyTrait::getCacheMaxAge
CacheableMetadata::getCacheTags public function The cache tags associated with this object. Overrides CacheableDependencyTrait::getCacheTags
CacheableMetadata::merge public function Merges the values of another CacheableMetadata object with this one. 1
CacheableMetadata::setCacheContexts public function Sets cache contexts.
CacheableMetadata::setCacheMaxAge public function Sets the maximum age (in seconds).
CacheableMetadata::setCacheTags public function Sets cache tags.
CacheableValue::$value protected property The actual value being wrapped.
CacheableValue::getValue public function Get the wrapped value. Overrides ValueWrapperInterface::getValue
CacheableValue::setValue public function Set the wrapped value. Overrides ValueWrapperInterface::setValue
CacheableValue::__construct public function CacheableValue constructor.
RefinableCacheableDependencyTrait::addCacheableDependency public function 1
RefinableCacheableDependencyTrait::addCacheContexts public function
RefinableCacheableDependencyTrait::addCacheTags public function
RefinableCacheableDependencyTrait::mergeCacheMaxAge public function
UncacheableValue::$cacheMaxAge protected property Cache max-age. Overrides CacheableDependencyTrait::$cacheMaxAge