<?php

namespace Modules\Stock\Interface;

interface MenuContextuelInterface
{
    /**
     * @param array<string,mixed> $entity
     * @return array<string, array<int,array<string, mixed>>>
 */
    public function generate(array $entity): array;

    /**
     * @param array<int,array<string,mixed>> $entities
     * @return void
     */
    public function addMenuContextuelToEntities(array &$entities): void;
}
