1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-07 01:06:48 +02:00

[feature/controller] Don't allow a kernel listener to be added with no method

PHPBB3-10864
This commit is contained in:
David King
2012-10-20 17:16:14 -04:00
parent 067a770730
commit 5c86a1660d
2 changed files with 2 additions and 4 deletions

View File

@@ -49,6 +49,7 @@ $lang = array_merge($lang, array(
// Event Listener/Subscriber error messages
'NO_EVENT_ATTRIBUTE' => 'Service "%1$s" must define the "event" attribute on "kernel.event_listener" tags.',
'NO_METHOD_ATTRIBUTE' => 'Service "%1$s" must define the "method" attribute on "kernel.event_listener" tags.',
'SUBSCRIBER_WRONG_TYPE' => 'Service "%1$s" must implement interface "%2$s".',
// Core error controller messages