<?php

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

use Skeleton\Router;

class Fournisseur
{
    
    /**
     * 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 Test',
           'submenu' => [],
        ];
        
        return $menu;
    }
}
