stable

Clone or download

Read-only

Introduce Dispatchable interface

Part of request #10358: Plugins hooks should not rely on associative arrays The object based approach introduced at commit 0ed59aef83729fbb8b14a630aa76c719d1684ea0 is a good first step but lacks an interface to better document what is expected in processEvent() arguments. Furthermore, this interface will help to find all objects that are used as event. Change-Id: I2499cf3229231857e15f0a2856f947e72f70ff0a

Modified Files

Name
M src/common/REST/Event/ProjectGetSvn.php +2 −1 Go to diff View file
M src/common/REST/Event/ProjectOptionsSvn.php +3 −1 Go to diff View file
M src/common/autoload.php +3 −2 Go to diff View file
A src/common/event/Dispatchable.php +25 −0 Go to diff View file
M src/common/event/EventManager.class.php +1 −1 Go to diff View file
M src/common/project/HeartbeatsEntryCollection.php +2 −1 Go to diff View file
M src/common/widget/Event/GetPublicAreas.php +2 −1 Go to diff View file