diff --git a/cookbook/doctrine/event_listeners_subscribers.rst b/cookbook/doctrine/event_listeners_subscribers.rst index fa72b1e3fc2..d0e05216ff4 100644 --- a/cookbook/doctrine/event_listeners_subscribers.rst +++ b/cookbook/doctrine/event_listeners_subscribers.rst @@ -3,8 +3,8 @@ .. _doctrine-event-config: -Registering Event Listeners and Subscribers -=========================================== +How to Register Event Listeners and Subscribers +=============================================== Doctrine packages a rich event system that fires events when almost anything happens inside the system. For you, this means that you can create arbitrary @@ -114,4 +114,4 @@ specific type of entity (e.g. a ``Product`` entity but not a ``BlogPost`` entity), you should check for the class name of the entity in your method (as shown above). -.. _`The Event System`: http://docs.doctrine-project.org/projects/doctrine-orm/en/2.1/reference/events.html \ No newline at end of file +.. _`The Event System`: http://docs.doctrine-project.org/projects/doctrine-orm/en/2.1/reference/events.html diff --git a/cookbook/routing/method_parameters.rst b/cookbook/routing/method_parameters.rst index a767e7718c1..26a614a121f 100644 --- a/cookbook/routing/method_parameters.rst +++ b/cookbook/routing/method_parameters.rst @@ -1,8 +1,8 @@ .. index:: single: Routing; _method -Using HTTP Methods beyond GET and POST in Routes -================================================ +How to use HTTP Methods beyond GET and POST in Routes +===================================================== The HTTP method of a request is one of the requirements that can be checked when seeing if it matches a route. This is introduced in the routing chapter @@ -111,4 +111,4 @@ Likewise the delete form could be changed to look like this: -It will then match the ``blog_delete`` route. \ No newline at end of file +It will then match the ``blog_delete`` route.