![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/mautic.corals.io/vendor/knplabs/knp-menu/src/Knp/Menu/Renderer/ |
<?php namespace Knp\Menu\Renderer; use Knp\Menu\ItemInterface; interface RendererInterface { /** * Renders menu tree. * * Common options: * - depth: The depth at which the item is rendered * null: no limit * 0: no children * 1: only direct children * - currentAsLink: whether the current item should be a link * - currentClass: class added to the current item * - ancestorClass: class added to the ancestors of the current item * - firstClass: class added to the first child * - lastClass: class added to the last child * * @param ItemInterface $item Menu item * @param array<string, mixed> $options some rendering options */ public function render(ItemInterface $item, array $options = []): string; }