Skip to content

Commit df90d32

Browse files
committed
Merge branch '4.4'
* 4.4: Reworded the docs about Doctrine events
2 parents 2b43b9f + 9b27e6d commit df90d32

File tree

8 files changed

+453
-377
lines changed

8 files changed

+453
-377
lines changed

_build/redirection_map

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -458,3 +458,5 @@
458458
/templating/embedding_controllers /templates
459459
/templating/inheritance /templates
460460
/testing/doctrine /testing/database
461+
/doctrine/lifecycle_callbacks /doctrine/events
462+
/doctrine/event_listeners_subscribers /doctrine/events

controller/upload_file.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -347,9 +347,8 @@ Using a Doctrine Listener
347347
-------------------------
348348

349349
The previous versions of this article explained how to handle file uploads using
350-
:doc:`Doctrine listeners </doctrine/event_listeners_subscribers>`. However, this
351-
is no longer recommended, because Doctrine events shouldn't be used for your
352-
domain logic.
350+
:ref:`Doctrine listeners <doctrine-lifecycle-listener>`. However, this is no longer
351+
recommended, because Doctrine events shouldn't be used for your domain logic.
353352

354353
Moreover, Doctrine listeners are often dependent on internal Doctrine behavior
355354
which may change in future versions. Also, they can introduce performance issues

doctrine.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -808,8 +808,7 @@ Learn more
808808

809809
doctrine/associations
810810
doctrine/common_extensions
811-
doctrine/lifecycle_callbacks
812-
doctrine/event_listeners_subscribers
811+
doctrine/events
813812
doctrine/registration_form
814813
doctrine/custom_dql_functions
815814
doctrine/dbal

doctrine/common_extensions.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ functionality for `Sluggable`_, `Translatable`_, `Timestampable`_, `Loggable`_,
1414
The usage for each of these extensions is explained in that repository.
1515

1616
However, to install/activate each extension you must register and activate an
17-
:doc:`Event Listener </doctrine/event_listeners_subscribers>`.
18-
To do this, you have two options:
17+
:ref:`Doctrine event Listener <doctrine-lifecycle-listener>`. To do this, you have two options:
1918

2019
#. Use the `StofDoctrineExtensionsBundle`_, which integrates the above library.
2120

doctrine/event_listeners_subscribers.rst

Lines changed: 0 additions & 268 deletions
This file was deleted.

0 commit comments

Comments
 (0)