Skip to content

Commit 21cfd89

Browse files
committed
minor #15523 [Cache] Deprecate the DoctrineProvider class (javiereguiluz)
This PR was squashed before being merged into the 5.4 branch. Discussion ---------- [Cache] Deprecate the DoctrineProvider class Fixes #15483. Commits ------- d80c0b1 [Cache] Deprecate the DoctrineProvider class
2 parents 809ecd4 + d80c0b1 commit 21cfd89

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

cache.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,11 @@ will create pools with service IDs that follow the pattern ``cache.[type]``.
187187
;
188188
};
189189
190+
.. deprecated:: 5.4
191+
192+
The ``default_doctrine_provider`` option was deprecated in Symfony 5.4 and
193+
it will be removed in Symfony 6.0.
194+
190195
.. _cache-create-pools:
191196

192197
Creating Custom (Namespaced) Pools

components/cache/adapters/doctrine_adapter.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,9 @@ third parameters::
3939
A :class:`Symfony\\Component\\Cache\\DoctrineProvider` class is also provided by the
4040
component to use any PSR6-compatible implementations with Doctrine-compatible classes.
4141

42+
.. deprecated:: 5.4
43+
44+
The ``DoctrineProvider`` class was deprecated in Symfony 5.4 and it will
45+
be removed in Symfony 6.0.
46+
4247
.. _`Doctrine Cache`: https://github.com/doctrine/cache

0 commit comments

Comments
 (0)