N°4756 Add listenerId to register call for debug purposes

This commit is contained in:
Pierre Goiffon
2023-02-10 17:31:48 +01:00
parent ca72ec736e
commit 35b0b16e20

View File

@@ -1396,6 +1396,7 @@ EOF
$sListenerRank = (float)($oListener->GetChildText('rank', '0'));
$sEvents .= <<<PHP
// listenerId = $sListenerId
Combodo\iTop\Service\Events\EventService::RegisterListener("$sEventName", $sEventListener, \$this->m_sObjectUniqId, [], null, $sListenerRank, '$sModuleRelativeDir');
PHP;
}