Skip to content

Commit 9d7cab4

Browse files
author
Drak
committed
Correct markup
1 parent 5f41570 commit 9d7cab4

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

components/http_foundation/session_configuration.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -223,21 +223,21 @@ Session start-on-demand
223223
.. versionadded:: 2.3
224224
Control over session "start-on-demand" was added in Symfony 2.3.
225225

226-
In versions 2.1-2.2, Symfony Sessions automatically invoked `$session->start()` when
226+
In versions 2.1-2.2, Symfony Sessions automatically invoked ``$session->start()`` when
227227
any attempt was made to access session data (effectively 'start on demand').
228228
From Symfony 2.3 this behaviour can be controlled.
229229

230230
There are three modes defined by :class:`Symfony\\Component\\HttpFoundation\\Session\\Storage\\SessionStorageInterface`
231231

232232
The settings are as follows:
233233

234-
- `SessionStorageInterface::NO_START_ON_DEMAND_STRICT` - The session will not be started on demand
235-
and any attempt to read or write session data will result in a `\RuntimeException`
236-
- `SessionStorageInterface::START_ON_DEMAND` - The session will be started if it hasn't already been
234+
- ``SessionStorageInterface::NO_START_ON_DEMAND_STRICT`` - The session will not be started on demand
235+
and any attempt to read or write session data will result in a ``\RuntimeException``
236+
- ``SessionStorageInterface::START_ON_DEMAND`` - The session will be started if it hasn't already been
237237
when any attempt is made to read ro write session data.
238-
- `SessionStorageInterface::NO_START_ON_DEMAND_LAX` - The sessions will not be started on demand
239-
when session data is read or written to. It will allow access to the unitialized `BagInterface`.
240-
If this session is subsequently started manually after data is written to a `BagInterface` will
238+
- ``SessionStorageInterface::NO_START_ON_DEMAND_LAX`` - The sessions will not be started on demand
239+
when session data is read or written to. It will allow access to the unitialized ``BagInterface``.
240+
If this session is subsequently started manually after data is written to a ``BagInterface`` will
241241
be overwritten (by the session data read from persistence).
242242

243243
You can configure these by injecting a configured storage engine into the session::

0 commit comments

Comments
 (0)