You are here

public function CacheableDependencyTrait::getCacheMaxAge in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Cache/CacheableDependencyTrait.php \Drupal\Core\Cache\CacheableDependencyTrait::getCacheMaxAge()
  2. 9 core/lib/Drupal/Core/Cache/CacheableDependencyTrait.php \Drupal\Core\Cache\CacheableDependencyTrait::getCacheMaxAge()

File

core/lib/Drupal/Core/Cache/CacheableDependencyTrait.php, line 63

Class

CacheableDependencyTrait
Trait for \Drupal\Core\Cache\CacheableDependencyInterface.

Namespace

Drupal\Core\Cache

Code

public function getCacheMaxAge() {
  return $this->cacheMaxAge;
}