Skip to content

Commit af876eb

Browse files
committed
[#7245] apply review comments
1 parent c5bb078 commit af876eb

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

reference/configuration/framework.rst

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1589,19 +1589,16 @@ app
15891589

15901590
**type**: ``string`` **default**: ``cache.adapter.filesystem``
15911591

1592-
The cache adapter used by the ``cache.app`` service.
1592+
The cache adapter used by the ``cache.app`` service. The FrameworkBundle
1593+
ships with multiple adapters: ``apcu``, ``doctrine``, ``system``, ``filesystem``,
1594+
``psr6`` and ``redis``.
15931595

15941596
.. tip::
15951597

15961598
It might be tough to understand at the beginning, so to avoid confusion remember that all pools perform the
15971599
same actions but on different medium given the adapter they are based on. Internally, a pool wraps the definition
15981600
of an adapter.
15991601

1600-
.. note::
1601-
1602-
The framework bundle ships with multiple adapters: apcu, doctrine, system,
1603-
filesystem, psr6, and redis.
1604-
16051602
system
16061603
......
16071604

@@ -1622,21 +1619,24 @@ default_doctrine_provider
16221619

16231620
**type**: ``string``
16241621

1625-
The service name to use as your default Doctrine provider.
1622+
The service name to use as your default Doctrine provider. The provider is
1623+
available as the ``cache.doctrine`` service.
16261624

16271625
default_psr6_provider
16281626
.....................
16291627

1630-
**type**: ``string`` **default**: ``%kernel.cache_dir%/pools``
1628+
**type**: ``string``
16311629

1632-
The service name to use as your default PSR-6 provider.
1630+
The service name to use as your default PSR-6 provider. It is available as
1631+
the ``cache.psr6`` service.
16331632

16341633
default_redis_provider
16351634
......................
16361635

16371636
**type**: ``string`` **default**: ``redis://localhost``
16381637

1639-
The dsn to use by the Redis provider.
1638+
The DSN to use by the Redis provider. The provider is available as the ``cache.redis``
1639+
service.
16401640

16411641
pools
16421642
.....
@@ -1663,7 +1663,7 @@ Name of the pool you want to create.
16631663
Your pool name must differ from ``cache.app`` or ``cache.system``.
16641664

16651665
adapter
1666-
#######
1666+
"""""""
16671667

16681668
**type**: ``string`` **default**: ``cache.app``
16691669

@@ -1674,28 +1674,28 @@ The name of the adapter to use. You could also use your own implementation.
16741674
Your service MUST implement the :class:`Psr\\Cache\\CacheItemPoolInterface` interface.
16751675

16761676
public
1677-
######
1677+
""""""
16781678

16791679
**type**: ``boolean`` **default**: ``false``
16801680

16811681
Whether your service should be public or not.
16821682

16831683
default_lifetime
1684-
################
1684+
""""""""""""""""
16851685

16861686
**type**: ``integer``
16871687

16881688
Default lifetime of your cache items in seconds.
16891689

16901690
provider
1691-
########
1691+
""""""""
16921692

16931693
**type**: ``string``
16941694

16951695
The service name to use as provider when the specified adapter needs one.
16961696

16971697
clearer
1698-
#######
1698+
"""""""
16991699

17001700
**type**: ``string``
17011701

0 commit comments

Comments
 (0)