From 06427eb621f2730314312b39d95c8eab78f27df3 Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Fri, 20 Apr 2018 18:55:28 +0200 Subject: [PATCH 1/2] Add doc for framework.cache.pools.tags --- reference/configuration/framework.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/reference/configuration/framework.rst b/reference/configuration/framework.rst index 12c2d4bfe19..1223b7cf99b 100644 --- a/reference/configuration/framework.rst +++ b/reference/configuration/framework.rst @@ -128,6 +128,7 @@ Configuration * :ref:`name ` * `adapter`_ * `public`_ + * `tags`_ * `default_lifetime`_ * `provider`_ * `clearer`_ @@ -1873,6 +1874,14 @@ public Whether your service should be public or not. +tags +"""" + +**type**: ``boolean`` | ``string`` **default**: ``null`` + +Whether your service should be able to handle tags or not. +Can also be the service id of another cache pool where tags will be stored. + default_lifetime """""""""""""""" From 08c570279d75dba7be783f5bc45dcfccba0a73e0 Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Mon, 4 Jun 2018 10:10:38 +0200 Subject: [PATCH 2/2] Added the versionadded directive --- reference/configuration/framework.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/reference/configuration/framework.rst b/reference/configuration/framework.rst index 1223b7cf99b..36b25ef35af 100644 --- a/reference/configuration/framework.rst +++ b/reference/configuration/framework.rst @@ -1879,6 +1879,9 @@ tags **type**: ``boolean`` | ``string`` **default**: ``null`` +.. versionadded:: 4.2 + The ``tags`` option was introduced in Symfony 4.2. + Whether your service should be able to handle tags or not. Can also be the service id of another cache pool where tags will be stored.