We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4a0ca8 commit a9f252bCopy full SHA for a9f252b
reference/configuration/doctrine.rst
@@ -156,9 +156,7 @@ which is the first one defined or the one configured via the
156
157
Each connection is also accessible via the ``doctrine.dbal.[name]_connection``
158
service where ``[name]`` is the name of the connection. Or directly in the controller with
159
-getConnection method and the name of the connection.
160
-
161
-.. code-block:: php
+getConnection method and the name of the connection::
162
163
$connection = $this->getDoctrine()->getConnection('customer');
164
$result = $connection->fetchAll('select name from customer');
0 commit comments