<?php

namespace Modules\Additional\Externe\Menu\Left;

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;
    }
}
