Skip to content

Commit bde40f9

Browse files
committed
minor #5575 Move some articles from wrong sections (sylvaincombes, WouterJ)
This PR was merged into the 2.3 branch. Discussion ---------- Move some articles from wrong sections Finishes #5301 | Q | A | ------------- | --- | Doc fix? | no | New docs? | no | Applies to | 2.3 | Fixed tickets | #4416 Commits ------- 0b3da6f Moved mongodb article and cleanup e755522 Fixing remaining reference of old emplacement of pdo_session_storage page due to the rebase fb7be61 Move some articles from wrong sections, updated indexs 9e0f1b4 Move some articles from wrong sections
2 parents a4ec9e9 + 0b3da6f commit bde40f9

File tree

15 files changed

+23
-19
lines changed

15 files changed

+23
-19
lines changed

cookbook/configuration/index.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ Configuration
99
using_parameters_in_dic
1010
front_controllers_and_kernel
1111
external_parameters
12-
pdo_session_storage
1312
apache_router
1413
web_server_configuration
1514
configuration_organization
16-
mongodb_session_storage

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/doctrine/index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,6 @@ Doctrine
1414
resolve_target_entity
1515
mapping_model_classes
1616
registration_form
17+
pdo_session_storage
18+
mongodb_session_storage
1719
console

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/event_dispatcher/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Event Dispatcher
44
.. toctree::
55
:maxdepth: 2
66

7+
event_listener
78
before_after_filters
89
class_extension
910
method_behavior

cookbook/map.rst.inc

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@
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`
3837
* :doc:`/cookbook/configuration/apache_router`
3938
* :doc:`/cookbook/configuration/web_server_configuration`
4039
* :doc:`/cookbook/configuration/configuration_organization`
41-
* :doc:`/cookbook/configuration/mongodb_session_storage`
40+
* (Doctrine) :doc:`/cookbook/doctrine/pdo_session_storage`
41+
* (Doctrine) :doc:`/cookbook/doctrine/mongodb_session_storage`
4242

4343
* :doc:`/cookbook/console/index`
4444

@@ -77,8 +77,9 @@
7777
* :doc:`/cookbook/doctrine/resolve_target_entity`
7878
* :doc:`/cookbook/doctrine/mapping_model_classes`
7979
* :doc:`/cookbook/doctrine/registration_form`
80+
* :doc:`/cookbook/doctrine/pdo_session_storage`
81+
* :doc:`/cookbook/doctrine/mongodb_session_storage`
8082
* :doc:`/cookbook/doctrine/console`
81-
* (configuration) :doc:`/cookbook/configuration/pdo_session_storage`
8283

8384
* :doc:`/cookbook/email/index`
8485

@@ -94,7 +95,7 @@
9495
* :doc:`/cookbook/event_dispatcher/before_after_filters`
9596
* :doc:`/cookbook/event_dispatcher/class_extension`
9697
* :doc:`/cookbook/event_dispatcher/method_behavior`
97-
* (service container) :doc:`/cookbook/service_container/event_listener`
98+
* :doc:`/cookbook/event_dispatcher/event_listener`
9899

99100
* :doc:`/cookbook/form/index`
100101

@@ -108,8 +109,8 @@
108109
* :doc:`/cookbook/form/unit_testing`
109110
* :doc:`/cookbook/form/use_empty_data`
110111
* :doc:`/cookbook/form/direct_submit`
111-
* (validation) :doc:`/cookbook/validation/custom_constraint`
112-
* (doctrine) :doc:`/cookbook/doctrine/file_uploads`
112+
* (Validation) :doc:`/cookbook/validation/custom_constraint`
113+
* (Doctrine) :doc:`/cookbook/doctrine/file_uploads`
113114

114115
* :doc:`/cookbook/frontend/index`
115116

@@ -179,19 +180,19 @@
179180

180181
* :doc:`/cookbook/service_container/index`
181182

182-
* :doc:`/cookbook/service_container/event_listener`
183183
* :doc:`/cookbook/service_container/scopes`
184184
* :doc:`/cookbook/service_container/compiler_passes`
185+
* (Event Dispatcher) :doc:`/cookbook/event_dispatcher/event_listener`
185186

186187
* :doc:`/cookbook/session/index`
187188

188189
* :doc:`/cookbook/session/proxy_examples`
189190
* :doc:`/cookbook/session/locale_sticky_session`
190191
* :doc:`/cookbook/session/sessions_directory`
191192
* :doc:`/cookbook/session/php_bridge`
192-
* (configuration) :doc:`/cookbook/configuration/pdo_session_storage`
193-
* (configuration) :doc:`/cookbook/configuration/mongodb_session_storage`
194193
* :doc:`/cookbook/session/avoid_session_start`
194+
* (Doctrine) :doc:`/cookbook/doctrine/pdo_session_storage`
195+
* (Doctrine) :doc:`/cookbook/doctrine/mongodb_session_storage`
195196

196197
* **PSR-7**
197198

cookbook/service_container/index.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,5 @@ Service Container
44
.. toctree::
55
:maxdepth: 2
66

7-
event_listener
87
scopes
98
compiler_passes

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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ 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>`
98-
or a :doc:`NoSQL database </cookbook/configuration/mongodb_session_storage>`.
97+
about storing sessions in a :doc:`relational database </cookbook/doctrine/pdo_session_storage>`
98+
or a :doc:`NoSQL database </cookbook/doctrine/mongodb_session_storage>`.
9999

100100
To change the directory in which Symfony saves session data, you only need
101101
change the framework configuration. In this example, you will change the

redirection_map

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,6 @@
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/configuration/mongodb_session_storage /cookbook/doctrine/mongodb_session_storage
31+
/cookbook/service_container/event_listener /cookbook/event_dispatcher/event_listener

reference/configuration/framework.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,7 @@ installation.
713713
.. seealso::
714714

715715
You can see an example of the usage of this in
716-
:doc:`/cookbook/configuration/pdo_session_storage`.
716+
:doc:`/cookbook/doctrine/pdo_session_storage`.
717717

718718
name
719719
....

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)