@@ -1589,19 +1589,16 @@ app
1589
1589
1590
1590
**type **: ``string `` **default **: ``cache.adapter.filesystem ``
1591
1591
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 ``.
1593
1595
1594
1596
.. tip ::
1595
1597
1596
1598
It might be tough to understand at the beginning, so to avoid confusion remember that all pools perform the
1597
1599
same actions but on different medium given the adapter they are based on. Internally, a pool wraps the definition
1598
1600
of an adapter.
1599
1601
1600
- .. note ::
1601
-
1602
- The framework bundle ships with multiple adapters: apcu, doctrine, system,
1603
- filesystem, psr6, and redis.
1604
-
1605
1602
system
1606
1603
......
1607
1604
@@ -1622,21 +1619,24 @@ default_doctrine_provider
1622
1619
1623
1620
**type **: ``string ``
1624
1621
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.
1626
1624
1627
1625
default_psr6_provider
1628
1626
.....................
1629
1627
1630
- **type **: ``string `` ** default **: `` %kernel.cache_dir%/pools ``
1628
+ **type **: ``string ``
1631
1629
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.
1633
1632
1634
1633
default_redis_provider
1635
1634
......................
1636
1635
1637
1636
**type **: ``string `` **default **: ``redis://localhost ``
1638
1637
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.
1640
1640
1641
1641
pools
1642
1642
.....
@@ -1663,7 +1663,7 @@ Name of the pool you want to create.
1663
1663
Your pool name must differ from ``cache.app `` or ``cache.system ``.
1664
1664
1665
1665
adapter
1666
- #######
1666
+ """""""
1667
1667
1668
1668
**type **: ``string `` **default **: ``cache.app ``
1669
1669
@@ -1674,28 +1674,28 @@ The name of the adapter to use. You could also use your own implementation.
1674
1674
Your service MUST implement the :class: `Psr\\ Cache\\ CacheItemPoolInterface ` interface.
1675
1675
1676
1676
public
1677
- ######
1677
+ """"""
1678
1678
1679
1679
**type **: ``boolean `` **default **: ``false ``
1680
1680
1681
1681
Whether your service should be public or not.
1682
1682
1683
1683
default_lifetime
1684
- ################
1684
+ """"""""""""""""
1685
1685
1686
1686
**type **: ``integer ``
1687
1687
1688
1688
Default lifetime of your cache items in seconds.
1689
1689
1690
1690
provider
1691
- ########
1691
+ """"""""
1692
1692
1693
1693
**type **: ``string ``
1694
1694
1695
1695
The service name to use as provider when the specified adapter needs one.
1696
1696
1697
1697
clearer
1698
- #######
1698
+ """""""
1699
1699
1700
1700
**type **: ``string ``
1701
1701
0 commit comments