@@ -67,71 +67,71 @@ as follows divided into a couple of groups.
67
67
68
68
Session workflow
69
69
70
- * :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Session::start `:
71
- Starts the session - do not use ``session_start() ``;
70
+ :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Session::start `
71
+ Starts the session - do not use ``session_start() ``.
72
72
73
- * :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Session::migrate `:
74
- Regenerates the session ID - do not use ``session_regenerate_id() ``.
75
- This method can optionally change the lifetime of the new cookie that will
76
- be emitted by calling this method;
73
+ :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Session::migrate `
74
+ Regenerates the session ID - do not use ``session_regenerate_id() ``.
75
+ This method can optionally change the lifetime of the new cookie that will
76
+ be emitted by calling this method.
77
77
78
- * :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Session::invalidate `:
79
- Clears all session data and regenerates session ID. Do not use ``session_destroy() ``;
78
+ :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Session::invalidate `
79
+ Clears all session data and regenerates session ID. Do not use ``session_destroy() ``.
80
80
81
- * :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Session::getId `: Gets the
82
- session ID. Do not use ``session_id() ``;
81
+ :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Session::getId `
82
+ Gets the session ID. Do not use ``session_id() ``.
83
83
84
- * :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Session::setId `: Sets the
85
- session ID. Do not use ``session_id() ``;
84
+ :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Session::setId `
85
+ Sets the session ID. Do not use ``session_id() ``.
86
86
87
- * :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Session::getName `: Gets the
88
- session name. Do not use ``session_name() ``;
87
+ :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Session::getName `
88
+ Gets the session name. Do not use ``session_name() ``.
89
89
90
- * :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Session::setName `: Sets the
91
- session name. Do not use ``session_name() ``.
90
+ :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Session::setName `
91
+ Sets the session name. Do not use ``session_name() ``.
92
92
93
93
Session attributes
94
94
95
- * :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Session::set `:
96
- Sets an attribute by key;
95
+ :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Session::set `
96
+ Sets an attribute by key.
97
97
98
- * :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Session::get `:
99
- Gets an attribute by key;
98
+ :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Session::get `
99
+ Gets an attribute by key.
100
100
101
- * :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Session::all `:
102
- Gets all attributes as an array of key => value;
101
+ :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Session::all `
102
+ Gets all attributes as an array of key => value.
103
103
104
- * :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Session::has `:
105
- Returns true if the attribute exists;
104
+ :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Session::has `
105
+ Returns true if the attribute exists.
106
106
107
- * :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Session::replace `:
108
- Sets multiple attributes at once: takes a keyed array and sets each key => value pair;
107
+ :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Session::replace `
108
+ Sets multiple attributes at once: takes a keyed array and sets each key => value pair;
109
109
110
- * :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Session::remove `:
111
- Deletes an attribute by key;
110
+ :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Session::remove `
111
+ Deletes an attribute by key;
112
112
113
- * :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Session::clear `:
114
- Clear all attributes.
113
+ :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Session::clear `
114
+ Clear all attributes.
115
115
116
116
The attributes are stored internally in a "Bag", a PHP object that acts like
117
117
an array. A few methods exist for "Bag" management:
118
118
119
- * :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Session::registerBag `:
120
- Registers a :class: `Symfony\\ Component\\ HttpFoundation\\ Session\\ SessionBagInterface `;
119
+ :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Session::registerBag `
120
+ Registers a :class: `Symfony\\ Component\\ HttpFoundation\\ Session\\ SessionBagInterface `.
121
121
122
- * :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Session::getBag `:
123
- Gets a :class: `Symfony\\ Component\\ HttpFoundation\\ Session\\ SessionBagInterface ` by
124
- bag name;
122
+ :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Session::getBag `
123
+ Gets a :class: `Symfony\\ Component\\ HttpFoundation\\ Session\\ SessionBagInterface ` by
124
+ bag name;
125
125
126
- * :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Session::getFlashBag `:
127
- Gets the :class: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Flash\\ FlashBagInterface `.
128
- This is just a shortcut for convenience.
126
+ :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Session::getFlashBag `
127
+ Gets the :class: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Flash\\ FlashBagInterface `.
128
+ This is just a shortcut for convenience.
129
129
130
130
Session metadata
131
131
132
- * :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Session::getMetadataBag `:
133
- Gets the :class: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Storage\\ MetadataBag `
134
- which contains information about the session.
132
+ :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Session::getMetadataBag `
133
+ Gets the :class: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Storage\\ MetadataBag `
134
+ which contains information about the session.
135
135
136
136
Session Data Management
137
137
~~~~~~~~~~~~~~~~~~~~~~~
0 commit comments