Skip to content

Commit d66dcdb

Browse files
committed
Merge branch '5.4' into 6.0
* 5.4: Parameter as connection value in doctrine tags
2 parents 1c099e9 + 05437d3 commit d66dcdb

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

doctrine/events.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,16 @@ with the ``doctrine.event_listener`` tag:
229229
Doctrine event is actually fired; whereas Doctrine subscribers are always
230230
loaded (and instantiated) by Symfony, making them less performant.
231231

232+
.. tip::
233+
234+
The value of the ``connection`` option can also be a
235+
:ref:`configuration parameter <configuration-parameters>`.
236+
237+
.. versionadded:: 5.4
238+
239+
The feature to allow using configuration parameters in ``connection``
240+
was introduced in Symfony 5.4.
241+
232242
Doctrine Entity Listeners
233243
-------------------------
234244

0 commit comments

Comments
 (0)