diff --git a/http_cache/cache_invalidation.rst b/http_cache/cache_invalidation.rst index 4ae2639224b..5027e76299f 100644 --- a/http_cache/cache_invalidation.rst +++ b/http_cache/cache_invalidation.rst @@ -90,6 +90,22 @@ Then, register the class as a service that :doc:`decorates '@?esi'])] + #[AsDecorator(decorates: 'http_cache')] + class CacheKernel extends HttpCache + { + // ... + } + .. code-block:: yaml # config/services.yaml