<?php
namespace Modules\Additional\Specifique\Client64;

use Modules\Additional\Specifique\Client64\Modules\Utilisateur\Controller\MaSessionSpecifiqueController;
use Skeleton\Router;
use Skeleton\Module;
use Psr\Container\ContainerInterface;
use Skeleton\Renderer\RendererInterface;

class Specifique64Module extends Module
{

    const DEFINITIONS = __DIR__ . '/config.php';

    // private $router, $container
    public function __construct(ContainerInterface $container)
    {
        $router = $container->get(Router::class);
        $container->get(RendererInterface::class)->addPath('Specifique64', __DIR__);

        $base_url = $container->get('baseUrl') . $container->get('Specifique64.prefix');

        $router->get($container->get('baseUrl') . $container->get('Specifique64.prefix'). '/updateSI', MaSessionSpecifiqueController::class, 'Specifique64.MaSessionSpecifique.updateCDC');
    }
}
