From 2a653b05a0d56ca6cd4e8cc04bbf7138bc6276ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Paris?= Date: Sun, 20 Mar 2022 19:13:19 +0100 Subject: [PATCH] Use correct syntax for external links There is no leading underscore, and the trailing underscore should not be forgotten. --- docs/en/reference/events.rst | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/docs/en/reference/events.rst b/docs/en/reference/events.rst index 9473760a358..f1ae35f75de 100644 --- a/docs/en/reference/events.rst +++ b/docs/en/reference/events.rst @@ -142,33 +142,33 @@ Events Overview | Event | Dispatched by | Lifecycle | Passed | | | | Callback | Argument | +=================================================================+=======================+===========+=====================================+ -| :ref:`preRemove` | ``$em->remove()`` | Yes | `_LifecycleEventArgs`_ | +| :ref:`preRemove` | ``$em->remove()`` | Yes | `LifecycleEventArgs`_ | +-----------------------------------------------------------------+-----------------------+-----------+-------------------------------------+ -| :ref:`postRemove` | ``$em->flush()`` | Yes | `_LifecycleEventArgs`_ | +| :ref:`postRemove` | ``$em->flush()`` | Yes | `LifecycleEventArgs`_ | +-----------------------------------------------------------------+-----------------------+-----------+-------------------------------------+ -| :ref:`prePersist` | ``$em->persist()`` | Yes | `_LifecycleEventArgs`_ | +| :ref:`prePersist` | ``$em->persist()`` | Yes | `LifecycleEventArgs`_ | | | on *initial* persist | | | +-----------------------------------------------------------------+-----------------------+-----------+-------------------------------------+ -| :ref:`postPersist` | ``$em->flush()`` | Yes | `_LifecycleEventArgs`_ | +| :ref:`postPersist` | ``$em->flush()`` | Yes | `LifecycleEventArgs`_ | +-----------------------------------------------------------------+-----------------------+-----------+-------------------------------------+ -| :ref:`preUpdate` | ``$em->flush()`` | Yes | `_PreUpdateEventArgs`_ | +| :ref:`preUpdate` | ``$em->flush()`` | Yes | `PreUpdateEventArgs`_ | +-----------------------------------------------------------------+-----------------------+-----------+-------------------------------------+ -| :ref:`postUpdate` | ``$em->flush()`` | Yes | `_LifecycleEventArgs`_ | +| :ref:`postUpdate` | ``$em->flush()`` | Yes | `LifecycleEventArgs`_ | +-----------------------------------------------------------------+-----------------------+-----------+-------------------------------------+ -| :ref:`postLoad` | Loading from database | Yes | `_LifecycleEventArgs`_ | +| :ref:`postLoad` | Loading from database | Yes | `LifecycleEventArgs`_ | +-----------------------------------------------------------------+-----------------------+-----------+-------------------------------------+ -| :ref:`loadClassMetadata` | Loading of mapping | No | `_LoadClassMetadataEventArgs` | +| :ref:`loadClassMetadata` | Loading of mapping | No | `LoadClassMetadataEventArgs`_ | | | metadata | | | +-----------------------------------------------------------------+-----------------------+-----------+-------------------------------------+ -| ``onClassMetadataNotFound`` | ``MappingException`` | No | `_OnClassMetadataNotFoundEventArgs` | +| ``onClassMetadataNotFound`` | ``MappingException`` | No | `OnClassMetadataNotFoundEventArgs`_ | +-----------------------------------------------------------------+-----------------------+-----------+-------------------------------------+ -| :ref:`preFlush` | ``$em->flush()`` | Yes | `_PreFlushEventArgs`_ | +| :ref:`preFlush` | ``$em->flush()`` | Yes | `PreFlushEventArgs`_ | +-----------------------------------------------------------------+-----------------------+-----------+-------------------------------------+ -| :ref:`onFlush` | ``$em->flush()`` | No | `_OnFlushEventArgs` | +| :ref:`onFlush` | ``$em->flush()`` | No | `OnFlushEventArgs`_ | +-----------------------------------------------------------------+-----------------------+-----------+-------------------------------------+ -| :ref:`postFlush` | ``$em->flush()`` | No | `_PostFlushEventArgs` | +| :ref:`postFlush` | ``$em->flush()`` | No | `PostFlushEventArgs`_ | +-----------------------------------------------------------------+-----------------------+-----------+-------------------------------------+ -| :ref:`onClear` | ``$em->clear()`` | No | `_OnClearEventArgs` | +| :ref:`onClear` | ``$em->clear()`` | No | `OnClearEventArgs`_ | +-----------------------------------------------------------------+-----------------------+-----------+-------------------------------------+ Naming convention