1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-19 06:51:33 +02:00

[ticket/12782] Use an interface for the phpbb event_dispatcher

PHPBB3-12782
This commit is contained in:
Tristan Darricau
2014-06-28 13:19:55 +02:00
parent 404c2f1144
commit eb13b4ae28
5 changed files with 42 additions and 9 deletions

View File

@@ -29,7 +29,7 @@ use Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher;
* extract($phpbb_dispatcher->trigger_event('core.index', compact($vars)));
*
*/
class dispatcher extends ContainerAwareEventDispatcher
class dispatcher extends ContainerAwareEventDispatcher implements dispatcher_interface
{
public function trigger_event($eventName, $data = array())
{