Skip to content

Commit b255dd9

Browse files
committed
Convert shell command examples to bash-blocks
1 parent a0c5716 commit b255dd9

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

cookbook/doctrine/multiple_entity_managers.rst

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,22 +68,25 @@ two connections, one for each entity manager.
6868
explicit about which configuration you want. If you *do* omit the name of
6969
the connection or entity manager, the default (i.e. ``default``) is used.
7070

71-
72-
When working with multiple connections to create your databases::
71+
When working with multiple connections to create your databases:
72+
73+
.. code-block:: bash
7374
7475
# Play only with "default" connection
75-
php app/console doctrine:database:create
76+
$ php app/console doctrine:database:create
7677
7778
# Play only with "customer" connection
78-
php app/console doctrine:database:create --connection=customer
79+
$ php app/console doctrine:database:create --connection=customer
80+
81+
When working with multiple entity managers to update your schema:
7982

80-
When working with multiple entity managers to update your schema::
83+
.. code-block:: bash
8184
8285
# Play only with "default" mappings
83-
php app/console doctrine:schema:update --force
86+
$ php app/console doctrine:schema:update --force
8487
8588
# Play only with "customer" mappings
86-
php app/console doctrine:schema:update --force --em=customer
89+
$ php app/console doctrine:schema:update --force --em=customer
8790
8891
If you *do* omit the entity manager's name when asking for it,
8992
the default entity manager (i.e. ``default``) is returned::

0 commit comments

Comments
 (0)