Actualización

This commit is contained in:
Xes
2025-04-10 12:24:57 +02:00
parent 8969cc929d
commit 45420b6f0d
39760 changed files with 4303286 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
<?php
namespace Knp\Menu;
/**
* Interface implemented by a node to construct a menu from a tree.
*/
interface NodeInterface
{
/**
* Get the name of the node
*
* Each child of a node must have a unique name
*
* @return string
*/
public function getName();
/**
* Get the options for the factory to create the item for this node
*
* @return array
*/
public function getOptions();
/**
* Get the child nodes implementing NodeInterface
*
* @return \Traversable
*/
public function getChildren();
}