Skip to content

Commit 4ad476e

Browse files
committed
minor #16199 Minor change in description (Tpojka)
This PR was squashed before being merged into the 5.4 branch. Discussion ---------- Minor change in description It is easier to understand and remember how to form string when described ``` on + 'PascalCase' // (e.g. onKernelException) ``` than how it is in docs for now ``` on + 'camel-case' // (e.g. onKernelException) ``` Commits ------- 8efc947 Minor change in description
2 parents eee8c62 + 8efc947 commit 4ad476e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

event_dispatcher.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ listener class:
118118
#. If the ``kernel.event_listener`` tag defines the ``method`` attribute, that's
119119
the name of the method to be called;
120120
#. If no ``method`` attribute is defined, try to call the method whose name
121-
is ``on`` + "camel-cased event name" (e.g. ``onKernelException()`` method for
121+
is ``on`` + "PascalCased event name" (e.g. ``onKernelException()`` method for
122122
the ``kernel.exception`` event);
123123
#. If that method is not defined either, try to call the ``__invoke()`` magic
124124
method (which makes event listeners invokable);

0 commit comments

Comments
 (0)