| Current Path : /home/smartconb/www/armencom33/modules/mod_dpcalendar_map/services/ |
| Current File : /home/smartconb/www/armencom33/modules/mod_dpcalendar_map/services/provider.php |
<?php
/**
* @package DPCalendar
* @copyright Copyright (C) 2024 Digital Peak GmbH. <https://www.digital-peak.com>
* @license https://www.gnu.org/licenses/gpl-3.0.html GNU/GPL
*/
\defined('_JEXEC') or die;
use Joomla\CMS\Extension\Service\Provider\Module;
use Joomla\CMS\Extension\Service\Provider\ModuleDispatcherFactory;
use Joomla\DI\Container;
use Joomla\DI\ServiceProviderInterface;
return new class () implements ServiceProviderInterface {
public function register(Container $container): void
{
$container->registerServiceProvider(new ModuleDispatcherFactory('\\DigitalPeak\\Module\\Map'));
$container->registerServiceProvider(new Module());
}
};