<?php

namespace Modules\Additional\Externe\Menu\Left\example;

use Skeleton\Router;

class Facture
{
    
    /**
     * generate
     *
     * @param  \PDO $pdo
     * @param  Router $router
     * @param  string $menuActive
     * @return array<mixed>
     */
    public static function generate(\PDO $pdo, Router $router, string $menuActive)
    {
        $menu[] = [
            'icone' => 'mg-bibliotheque',
            'active' => ($menuActive == 'consultation'),
            'link' => $router->generateUri('Contrat.marche.index'),
            'label' => 'Baila Facturereeeeeeeee',
           'submenu' => [],
        ];
        
        return $menu;
    }
}
