mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-31 01:34:09 +02:00
lib: Remove NodeInterface
I'll create an iterator for nodes and drop that every node is a SplDoublyLinkedList. refs #6630
This commit is contained in:
parent
bdc05ec5f1
commit
c8da05d0a7
@ -1,25 +0,0 @@
|
|||||||
<?php
|
|
||||||
/* Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */
|
|
||||||
|
|
||||||
namespace Icinga\Data\Tree;
|
|
||||||
|
|
||||||
use RecursiveIterator;
|
|
||||||
|
|
||||||
interface NodeInterface extends RecursiveIterator
|
|
||||||
{
|
|
||||||
/**
|
|
||||||
* Create a new node from the given value and insert the node as the last child of this node
|
|
||||||
*
|
|
||||||
* @param mixed $value The node's value
|
|
||||||
*
|
|
||||||
* @return NodeInterface The appended node
|
|
||||||
*/
|
|
||||||
public function appendChild($value);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the node's value
|
|
||||||
*
|
|
||||||
* @return mixed
|
|
||||||
*/
|
|
||||||
public function getValue();
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user