Defines an interface for objects which may be used by other cached objects.
All cacheability metadata exposed in this interface is bubbled to parent objects when they are cached: if a child object needs to be varied by certain cache contexts, invalidated by certain cache tags, expire after a certain maximum age, then so should any parent object.
Hierarchy
interface \Drupal\Core\Cache\CacheableDependencyInterface
Related topics
Cache API Information about the Drupal Cache API
File
core/lib/