Added iMSCP_Events_Aggregator

  • [feedquote='i-MSCP Github (stable) (nuxwin)','https://github.com/i-MSCP/imscp/commit/2f1a832b798ca48c393cfe55f4d1256db1fd39d5']

    Code
    1. Added iMSCP_Events_Aggregator
    2. Changed: EventManager is no longer static (shared). The getInstance() method is now deprecated. It now return an
    3. iMSCP_Events_Aggregator instance to ensure backward compatibility with plugins which are already released
    4. Changed: Implementation of the register() method is no longer mandatory in action plugins
    5. Deprecated: iMSCP_Events_Manager::getInstance() (will be removed in next minor version)
    6. Fixed: Plugin manager must have its own eventManager
    7. Fixed: Plugin event listeners are registered twice in some contexts
    8. Updated: Plugin API to version 0.2.9 (changes are backward compatible)

    [/feedquote]