<?php
/**
 * i-doit
 *
 * Module initializer
 *
 * @package     i-doit
 * @subpackage  Modules
 * @author      Dennis Stücken <dstuecken@i-doit.com>
 * @version     1.1
 * @copyright   synetics GmbH
 * @license     http://www.i-doit.com/license
 */

use idoit\Component\Autoloader;
use idoit\Event\System\Settings\ExtendTenantSettings;
use Symfony\Component\EventDispatcher\EventDispatcher;

Autoloader::appendClassmap(include(__DIR__ . '/classmap.php'));

/** @var EventDispatcher $dispatcher */
$dispatcher = isys_application::instance()->container->get('event_dispatcher');
$dispatcher->addListener(ExtendTenantSettings::NAME, ['isys_module_notifications', 'extendTenantSettings']);
