Skip to content

Commit 4f56d81

Browse files
committed
Tweaks
1 parent fee22ab commit 4f56d81

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

session.rst

+6-5
Original file line numberDiff line numberDiff line change
@@ -883,10 +883,11 @@ Before storing sessions in the database, you must create the table that stores
883883
the information.
884884

885885
With Doctrine installed, the session table will be automatically generated when
886-
you run the make:migration command if the database targeted by doctrine is identical to
887-
the one used by this component.
886+
you run the ``make:migration`` command if the database targeted by doctrine is
887+
identical to the one used by this component.
888888

889-
Or if you prefer to create the table yourself and the table has not already been created, the session handler provides a method called
889+
Or if you prefer to create the table yourself and the table has not already been
890+
created, the session handler provides a method called
890891
:method:`Symfony\\Component\\HttpFoundation\\Session\\Storage\\Handler\\PdoSessionHandler::createTable`
891892
to set up this table for you according to the database engine used::
892893

@@ -913,8 +914,8 @@ file and run the migration with the following command:
913914
$ php bin/console doctrine:migrations:migrate
914915
915916
If needed, you can also add this table to your schema by calling
916-
:method:`Symfony\\Component\\HttpFoundation\\Session\\Storage\\Handler\\PdoSessionHandler::configureSchema` method
917-
in your code.
917+
:method:`Symfony\\Component\\HttpFoundation\\Session\\Storage\\Handler\\PdoSessionHandler::configureSchema`
918+
method in your code.
918919

919920
.. _mysql:
920921

0 commit comments

Comments
 (0)