From f52153403a3fcfd48dbc549cba496750c70305de Mon Sep 17 00:00:00 2001 From: Thomas Landauer Date: Thu, 16 Aug 2018 15:03:06 +0200 Subject: [PATCH 1/3] Updated link to Event Listeners page Not sure if I got it right (preview isn't showing it) - the page I wanted to link to is https://symfony.com/doc/current/bundles/DoctrineBundle/entity-listeners.html --- doctrine/event_listeners_subscribers.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doctrine/event_listeners_subscribers.rst b/doctrine/event_listeners_subscribers.rst index 4013f4c74cc..a1aa41eb4f5 100644 --- a/doctrine/event_listeners_subscribers.rst +++ b/doctrine/event_listeners_subscribers.rst @@ -156,8 +156,9 @@ entity), you should check for the entity's class type in your method .. tip:: In Doctrine 2.4, a feature called Entity Listeners was introduced. - It is a lifecycle listener class used for an entity. You can read - about it in `the Doctrine Documentation`_. + It is a lifecycle listener class used for an entity. See + :doc:`Entity Listeners + Creating the Subscriber Class ----------------------------- @@ -269,4 +270,3 @@ to the tag like so: definitions which are described :doc:`in their own article ` .. _`The Event System`: http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/events.html -.. _`the Doctrine Documentation`: http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/events.html#entity-listeners From 567616f06e89713c1e46f35d9571baf55cacff02 Mon Sep 17 00:00:00 2001 From: Thomas Landauer Date: Thu, 16 Aug 2018 16:54:36 +0200 Subject: [PATCH 2/3] Changing to absolute url, as requested --- doctrine/event_listeners_subscribers.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doctrine/event_listeners_subscribers.rst b/doctrine/event_listeners_subscribers.rst index a1aa41eb4f5..0dc247e4248 100644 --- a/doctrine/event_listeners_subscribers.rst +++ b/doctrine/event_listeners_subscribers.rst @@ -157,7 +157,7 @@ entity), you should check for the entity's class type in your method In Doctrine 2.4, a feature called Entity Listeners was introduced. It is a lifecycle listener class used for an entity. See - :doc:`Entity Listeners + https://symfony.com/doc/current/bundles/DoctrineBundle/entity-listeners.html Creating the Subscriber Class From 58647a054db1772090a56ca9a7414521ccf6b94d Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Fri, 17 Aug 2018 13:15:55 +0200 Subject: [PATCH 3/3] fix the markup --- doctrine/event_listeners_subscribers.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doctrine/event_listeners_subscribers.rst b/doctrine/event_listeners_subscribers.rst index 0dc247e4248..4c58a63e951 100644 --- a/doctrine/event_listeners_subscribers.rst +++ b/doctrine/event_listeners_subscribers.rst @@ -156,9 +156,8 @@ entity), you should check for the entity's class type in your method .. tip:: In Doctrine 2.4, a feature called Entity Listeners was introduced. - It is a lifecycle listener class used for an entity. See - https://symfony.com/doc/current/bundles/DoctrineBundle/entity-listeners.html - + It is a lifecycle listener class used for an entity. You can read + about it in `the Doctrine Documentation`_. Creating the Subscriber Class ----------------------------- @@ -270,3 +269,4 @@ to the tag like so: definitions which are described :doc:`in their own article ` .. _`The Event System`: http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/events.html +.. _`the Doctrine Documentation`: https://symfony.com/doc/current/bundles/DoctrineBundle/entity-listeners.html