src/Layout/NavigableInterface.php
<?php
declare(strict_types=1);
namespace Atk4\Ui\Layout;
use Atk4\Ui\Js\JsExpressionable;
use Atk4\Ui\Menu;
use Atk4\Ui\MenuItem;
interface NavigableInterface
{
/**
* Add a group to left menu.
*
* @param array<mixed> $seed
*/
public function addMenuGroup($seed): Menu;
/**
* Add items to left menu.
*
* Will place item in a group if supply.
*
* @param string|array<mixed> $name
* @param string|array<0|string, string|int|false>|JsExpressionable $action
* @param Menu $group
*/
public function addMenuItem($name, $action = null, $group = null): MenuItem;
}