2026-06-04 09:09:38 -05:00
|
|
|
<?php
|
|
|
|
|
/**
|
2026-06-15 05:19:13 -05:00
|
|
|
* @package MokoSuiteClient
|
|
|
|
|
* @subpackage mod_mokosuiteclient_cache
|
2026-06-04 09:09:38 -05:00
|
|
|
* @copyright Copyright (C) 2026 Moko Consulting. All rights reserved.
|
|
|
|
|
* @license GNU General Public License version 3 or later; see LICENSE
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
{
|
2026-06-15 05:19:13 -05:00
|
|
|
$container->registerServiceProvider(new ModuleDispatcherFactory('\\Moko\\Module\\MokoSuiteClientCache'));
|
2026-06-04 09:09:38 -05:00
|
|
|
$container->registerServiceProvider(new Module());
|
|
|
|
|
}
|
|
|
|
|
};
|