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

use Helpers\Parametres\Parametres;
use Modules\Additional\Specifique\Client94\Modules\Facture\Controller\AjaxFactureController;
use Psr\Container\ContainerInterface;
use Skeleton\Module;
use Skeleton\Renderer\RendererInterface;
use Skeleton\Router;

class Specifique94Module extends Module
{

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

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

        $router->get($container->get('baseUrl') . $container->get('Specifique94.prefix'). '/facture/ajax/updateCsFacLig', AjaxFactureController::class, 'Specifique94.AjaxFacture.updateCsFacLig');
    }
}
