@@ -107,10 +107,10 @@ Session Attributes
107107 Returns true if the attribute exists.
108108
109109:method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Session::replace `
110- Sets multiple attributes at once: takes a keyed array and sets each key => value pair;
110+ Sets multiple attributes at once: takes a keyed array and sets each key => value pair.
111111
112112:method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Session::remove `
113- Deletes an attribute by key;
113+ Deletes an attribute by key.
114114
115115:method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Session::clear `
116116 Clear all attributes.
@@ -123,7 +123,7 @@ an array. A few methods exist for "Bag" management:
123123
124124:method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Session::getBag `
125125 Gets a :class: `Symfony\\ Component\\ HttpFoundation\\ Session\\ SessionBagInterface ` by
126- bag name;
126+ bag name.
127127
128128:method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Session::getFlashBag `
129129 Gets the :class: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Flash\\ FlashBagInterface `.
@@ -157,16 +157,16 @@ bag types if necessary.
157157:class: `Symfony\\ Component\\ HttpFoundation\\ Session\\ SessionBagInterface ` has
158158the following API which is intended mainly for internal purposes:
159159
160- * :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ SessionBagInterface::getStorageKey `:
161- Returns the key which the bag will ultimately store its array under in ``$_SESSION ``.
162- Generally this value can be left at its default and is for internal use.
160+ :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ SessionBagInterface::getStorageKey `
161+ Returns the key which the bag will ultimately store its array under in ``$_SESSION ``.
162+ Generally this value can be left at its default and is for internal use.
163163
164- * :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ SessionBagInterface::initialize `:
165- This is called internally by Symfony session storage classes to link bag data
166- to the session.
164+ :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ SessionBagInterface::initialize `
165+ This is called internally by Symfony session storage classes to link bag data
166+ to the session.
167167
168- * :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ SessionBagInterface::getName `:
169- Returns the name of the session bag.
168+ :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ SessionBagInterface::getName `
169+ Returns the name of the session bag.
170170
171171Attributes
172172~~~~~~~~~~
@@ -175,11 +175,11 @@ The purpose of the bags implementing the :class:`Symfony\\Component\\HttpFoundat
175175is to handle session attribute storage. This might include things like user ID,
176176and remember me login settings or other user based state information.
177177
178- * :class: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Attribute\\ AttributeBag `
179- This is the standard default implementation.
178+ :class: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Attribute\\ AttributeBag `
179+ This is the standard default implementation.
180180
181- * :class: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Attribute\\ NamespacedAttributeBag `
182- This implementation allows for attributes to be stored in a structured namespace.
181+ :class: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Attribute\\ NamespacedAttributeBag `
182+ This implementation allows for attributes to be stored in a structured namespace.
183183
184184Any plain key-value storage system is limited in the extent to which
185185complex data can be stored since each key must be unique. You can achieve
@@ -210,29 +210,29 @@ This way you can easily access a key within the stored array directly and easily
210210:class: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Attribute\\ AttributeBagInterface `
211211has a simple API
212212
213- * :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Attribute\\ AttributeBagInterface::set `:
214- Sets an attribute by key;
213+ :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Attribute\\ AttributeBagInterface::set `
214+ Sets an attribute by key.
215215
216- * :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Attribute\\ AttributeBagInterface::get `:
217- Gets an attribute by key;
216+ :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Attribute\\ AttributeBagInterface::get `
217+ Gets an attribute by key.
218218
219- * :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Attribute\\ AttributeBagInterface::all `:
220- Gets all attributes as an array of key => value;
219+ :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Attribute\\ AttributeBagInterface::all `
220+ Gets all attributes as an array of key => value.
221221
222- * :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Attribute\\ AttributeBagInterface::has `:
223- Returns true if the attribute exists;
222+ :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Attribute\\ AttributeBagInterface::has `
223+ Returns true if the attribute exists.
224224
225- * :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Attribute\\ AttributeBagInterface::keys `:
226- Returns an array of stored attribute keys;
225+ :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Attribute\\ AttributeBagInterface::keys `
226+ Returns an array of stored attribute keys.
227227
228- * :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Attribute\\ AttributeBagInterface::replace `:
229- Sets multiple attributes at once: takes a keyed array and sets each key => value pair.
228+ :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Attribute\\ AttributeBagInterface::replace `
229+ Sets multiple attributes at once: takes a keyed array and sets each key => value pair.
230230
231- * :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Attribute\\ AttributeBagInterface::remove `:
232- Deletes an attribute by key;
231+ :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Attribute\\ AttributeBagInterface::remove `
232+ Deletes an attribute by key.
233233
234- * :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Attribute\\ AttributeBagInterface::clear `:
235- Clear the bag;
234+ :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Attribute\\ AttributeBagInterface::clear `
235+ Clear the bag.
236236
237237Flash Messages
238238~~~~~~~~~~~~~~
@@ -246,49 +246,49 @@ updated page or an error page. Flash messages set in the previous page request
246246would be displayed immediately on the subsequent page load for that session.
247247This is however just one application for flash messages.
248248
249- * :class: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Flash\\ AutoExpireFlashBag `
250- In this implementation, messages set in one page-load will
251- be available for display only on the next page load. These messages will auto
252- expire regardless of if they are retrieved or not.
249+ :class: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Flash\\ AutoExpireFlashBag `
250+ In this implementation, messages set in one page-load will
251+ be available for display only on the next page load. These messages will auto
252+ expire regardless of if they are retrieved or not.
253253
254- * :class: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Flash\\ FlashBag `
255- In this implementation, messages will remain in the session until
256- they are explicitly retrieved or cleared. This makes it possible to use ESI
257- caching.
254+ :class: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Flash\\ FlashBag `
255+ In this implementation, messages will remain in the session until
256+ they are explicitly retrieved or cleared. This makes it possible to use ESI
257+ caching.
258258
259259:class: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Flash\\ FlashBagInterface `
260260has a simple API
261261
262- * :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Flash\\ FlashBagInterface::add `:
263- Adds a flash message to the stack of specified type;
262+ :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Flash\\ FlashBagInterface::add `
263+ Adds a flash message to the stack of specified type.
264264
265- * :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Flash\\ FlashBagInterface::set `:
266- Sets flashes by type; This method conveniently takes both single messages as
267- a ``string `` or multiple messages in an ``array ``.
265+ :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Flash\\ FlashBagInterface::set `
266+ Sets flashes by type; This method conveniently takes both single messages as
267+ a ``string `` or multiple messages in an ``array ``.
268268
269- * :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Flash\\ FlashBagInterface::get `:
270- Gets flashes by type and clears those flashes from the bag;
269+ :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Flash\\ FlashBagInterface::get `
270+ Gets flashes by type and clears those flashes from the bag.
271271
272- * :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Flash\\ FlashBagInterface::setAll `:
273- Sets all flashes, accepts a keyed array of arrays ``type => array(messages) ``;
272+ :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Flash\\ FlashBagInterface::setAll `
273+ Sets all flashes, accepts a keyed array of arrays ``type => array(messages) ``.
274274
275- * :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Flash\\ FlashBagInterface::all `:
276- Gets all flashes (as a keyed array of arrays) and clears the flashes from the bag;
275+ :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Flash\\ FlashBagInterface::all `
276+ Gets all flashes (as a keyed array of arrays) and clears the flashes from the bag.
277277
278- * :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Flash\\ FlashBagInterface::peek `:
279- Gets flashes by type (read only);
278+ :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Flash\\ FlashBagInterface::peek `
279+ Gets flashes by type (read only).
280280
281- * :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Flash\\ FlashBagInterface::peekAll `:
282- Gets all flashes (read only) as keyed array of arrays;
281+ :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Flash\\ FlashBagInterface::peekAll `
282+ Gets all flashes (read only) as keyed array of arrays.
283283
284- * :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Flash\\ FlashBagInterface::has `:
285- Returns true if the type exists, false if not;
284+ :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Flash\\ FlashBagInterface::has `
285+ Returns true if the type exists, false if not.
286286
287- * :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Flash\\ FlashBagInterface::keys `:
288- Returns an array of the stored flash types;
287+ :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Flash\\ FlashBagInterface::keys `
288+ Returns an array of the stored flash types.
289289
290- * :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Flash\\ FlashBagInterface::clear `:
291- Clears the bag;
290+ :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Flash\\ FlashBagInterface::clear `
291+ Clears the bag.
292292
293293For simple applications it is usually sufficient to have one flash message per
294294type, for example a confirmation notice after a form is submitted. However,
0 commit comments