Skip to content

Commit 2526149

Browse files
committed
-
1 parent cea8bf6 commit 2526149

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

doctrine/events.rst

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -248,11 +248,6 @@ with the ``doctrine.orm.entity_listener`` tag as follows:
248248
Doctrine Lifecycle Listeners
249249
----------------------------
250250

251-
.. deprecated:: 6.3
252-
253-
Lifecycle subscribers are deprecated starting from Symfony 6.3 and will be
254-
removed in Symfony 7.0. Use lifecycle listeners instead.
255-
256251
Lifecycle listeners are defined as PHP classes that listen to a single Doctrine
257252
event on all the application entities. For example, suppose that you want to
258253
update some search index whenever a new entity is persisted in the database. To
@@ -414,6 +409,10 @@ listener in the Symfony application by creating a new service for it and
414409
Doctrine Lifecycle Subscribers
415410
------------------------------
416411

412+
.. deprecated:: 6.3
413+
414+
Lifecycle subscribers are deprecated starting from Symfony 6.3.
415+
417416
This was another way of listening to events provided by Doctrine. However, they
418417
were deprecated in Symfony 6.3 and it's no longer recommended to use them.
419418
Instead, use any of the other alternatives shown above.

0 commit comments

Comments
 (0)