Skip to content

Commit ec601b6

Browse files
Minor reword in the help note
1 parent f37e552 commit ec601b6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

app/config/services.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,8 @@ services:
3434
app.comment_notification:
3535
class: AppBundle\EventListener\CommentNotificationListener
3636
arguments: ['@mailer', '@router', '@translator', '%app.notifications.email_sender%']
37-
# There is an optional tag attribute called "method" which defines which method to execute when the event is triggered.
38-
# By default the name of the method is on + "camel-cased event name".
39-
# If the event is "comment.created" the method executed by default is onCommentCreated().
37+
# The "method" attribute of this tag is optional and defaults to "on + camelCasedEventName"
38+
# If the event is "comment.created" the method executed by default is "onCommentCreated()".
4039
tags:
4140
- { name: kernel.event_listener, event: comment.created, method: onCommentCreated }
4241

0 commit comments

Comments
 (0)