File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -248,11 +248,6 @@ with the ``doctrine.orm.entity_listener`` tag as follows:
248
248
Doctrine Lifecycle Listeners
249
249
----------------------------
250
250
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
-
256
251
Lifecycle listeners are defined as PHP classes that listen to a single Doctrine
257
252
event on all the application entities. For example, suppose that you want to
258
253
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
414
409
Doctrine Lifecycle Subscribers
415
410
------------------------------
416
411
412
+ .. deprecated :: 6.3
413
+
414
+ Lifecycle subscribers are deprecated starting from Symfony 6.3.
415
+
417
416
This was another way of listening to events provided by Doctrine. However, they
418
417
were deprecated in Symfony 6.3 and it's no longer recommended to use them.
419
418
Instead, use any of the other alternatives shown above.
You can’t perform that action at this time.
0 commit comments