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

https://tracker.phpbb.com/browse/PHPBB3-12782

PHPBB3-12782
Doc block missing