mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 10:38:45 +02:00
N°4756 - Ease extensibility for CRUD operations : Event Service - renamed service setup interface
This commit is contained in:
@@ -6,9 +6,9 @@
|
||||
*/
|
||||
|
||||
use Combodo\iTop\Service\EventService;
|
||||
use Combodo\iTop\Service\iEventEnrolment;
|
||||
use Combodo\iTop\Service\iEventServiceSetup;
|
||||
|
||||
class ApplicationEvents implements iEventEnrolment
|
||||
class ApplicationEvents implements iEventServiceSetup
|
||||
{
|
||||
// Startup events
|
||||
const APPLICATION_EVENT_REQUEST_RECEIVED = 'APPLICATION_EVENT_REQUEST_RECEIVED';
|
||||
@@ -17,7 +17,7 @@ class ApplicationEvents implements iEventEnrolment
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
public function InitEvents()
|
||||
public function RegisterEventsAndListeners()
|
||||
{
|
||||
EventService::RegisterEvent(self::APPLICATION_EVENT_REQUEST_RECEIVED, [
|
||||
'description' => 'A request was received from the network, at this point only the session is started, the configuration is not even loaded',
|
||||
|
||||
Reference in New Issue
Block a user