Skip to content

Commit 9e0f1b4

Browse files
sylvaincombeswouterj
authored andcommitted
Move some articles from wrong sections
1 parent af85d52 commit 9e0f1b4

File tree

9 files changed

+12
-10
lines changed

9 files changed

+12
-10
lines changed

cookbook/controller/error_pages.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ before, but also requires a thorough understanding of Symfony internals. Suppose
233233
that your code throws specialized exceptions with a particular meaning to your
234234
application domain.
235235

236-
:doc:`Writing your own event listener </cookbook/service_container/event_listener>`
236+
:doc:`Writing your own event listener </cookbook/event_dispatcher/event_listener>`
237237
for the ``kernel.exception`` event allows you to have a closer look at the exception
238238
and take different actions depending on it. Those actions might include logging
239239
the exception, redirecting the user to another page or rendering specialized

cookbook/event_dispatcher/before_after_filters.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ Creating an Event Listener
102102

103103
Next, you'll need to create an event listener, which will hold the logic
104104
that you want executed before your controllers. If you're not familiar with
105-
event listeners, you can learn more about them at :doc:`/cookbook/service_container/event_listener`::
105+
event listeners, you can learn more about them at :doc:`/cookbook/event_dispatcher/event_listener`::
106106

107107
// src/AppBundle/EventListener/TokenListener.php
108108
namespace AppBundle\EventListener;

cookbook/map.rst.inc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
* :doc:`/cookbook/configuration/using_parameters_in_dic`
3535
* :doc:`/cookbook/configuration/front_controllers_and_kernel`
3636
* :doc:`/cookbook/configuration/external_parameters`
37-
* :doc:`/cookbook/configuration/pdo_session_storage`
37+
* :doc:`/cookbook/doctrine/pdo_session_storage`
3838
* :doc:`/cookbook/configuration/apache_router`
3939
* :doc:`/cookbook/configuration/web_server_configuration`
4040
* :doc:`/cookbook/configuration/configuration_organization`
@@ -78,7 +78,7 @@
7878
* :doc:`/cookbook/doctrine/mapping_model_classes`
7979
* :doc:`/cookbook/doctrine/registration_form`
8080
* :doc:`/cookbook/doctrine/console`
81-
* (configuration) :doc:`/cookbook/configuration/pdo_session_storage`
81+
* (configuration) :doc:`/cookbook/doctrine/pdo_session_storage`
8282

8383
* :doc:`/cookbook/email/index`
8484

@@ -94,7 +94,7 @@
9494
* :doc:`/cookbook/event_dispatcher/before_after_filters`
9595
* :doc:`/cookbook/event_dispatcher/class_extension`
9696
* :doc:`/cookbook/event_dispatcher/method_behavior`
97-
* (service container) :doc:`/cookbook/service_container/event_listener`
97+
* (service container) :doc:`/cookbook/event_dispatcher/event_listener`
9898

9999
* :doc:`/cookbook/form/index`
100100

@@ -179,7 +179,7 @@
179179

180180
* :doc:`/cookbook/service_container/index`
181181

182-
* :doc:`/cookbook/service_container/event_listener`
182+
* :doc:`/cookbook/event_dispatcher/event_listener`
183183
* :doc:`/cookbook/service_container/scopes`
184184
* :doc:`/cookbook/service_container/compiler_passes`
185185

@@ -189,7 +189,7 @@
189189
* :doc:`/cookbook/session/locale_sticky_session`
190190
* :doc:`/cookbook/session/sessions_directory`
191191
* :doc:`/cookbook/session/php_bridge`
192-
* (configuration) :doc:`/cookbook/configuration/pdo_session_storage`
192+
* (configuration) :doc:`/cookbook/doctrine/pdo_session_storage`
193193
* (configuration) :doc:`/cookbook/configuration/mongodb_session_storage`
194194
* :doc:`/cookbook/session/avoid_session_start`
195195

cookbook/session/locale_sticky_session.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Creating a LocaleListener
1414
-------------------------
1515

1616
To simulate that the locale is stored in a session, you need to create and
17-
register a :doc:`new event listener </cookbook/service_container/event_listener>`.
17+
register a :doc:`new event listener </cookbook/event_dispatcher/event_listener>`.
1818
The listener will look something like this. Typically, ``_locale`` is used
1919
as a routing parameter to signify the locale, though it doesn't really matter
2020
how you determine the desired locale from the request::

cookbook/session/sessions_directory.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ that your current sessions aren't lost when you clear Symfony's cache.
9494
method of session management available within Symfony. See
9595
:doc:`/components/http_foundation/session_configuration` for a
9696
discussion of session save handlers. There are also entries in the cookbook
97-
about storing sessions in a :doc:`relational database </cookbook/configuration/pdo_session_storage>`
97+
about storing sessions in a :doc:`relational database </cookbook/doctrine/pdo_session_storage>`
9898
or a :doc:`NoSQL database </cookbook/configuration/mongodb_session_storage>`.
9999

100100
To change the directory in which Symfony saves session data, you only need

redirection_map

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,5 @@
2626
/components/templating /components/templating/introduction
2727
/cookbook/upgrading /cookbook/upgrade/index
2828
/cookbook/security/voters_data_permission /cookbook/security/voters
29+
/cookbook/configuration/pdo_session_storage /cookbook/doctrine/pdo_session_storage
30+
/cookbook/service_container/event_listener /cookbook/event_dispatcher/event_listener

reference/dic_tags.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@ kernel.event_listener
543543
This tag allows you to hook your own classes into Symfony's process at different
544544
points.
545545

546-
For a full example of this listener, read the :doc:`/cookbook/service_container/event_listener`
546+
For a full example of this listener, read the :doc:`/cookbook/event_dispatcher/event_listener`
547547
cookbook entry.
548548

549549
For another practical example of a kernel listener, see the cookbook

0 commit comments

Comments
 (0)