TraversableNodes
final class TraversableNodes implements IteratorAggregate, Countable (View source)
Methods
No description
No description
No description
Returns the node before the given $referenceNode in this set - or throws an exception if $referenceNode does not exist or is the first node in the set
Returns all nodes before the given $referenceNode in this set
Returns the node after the given $referenceNode in this set - or throws an exception if $referenceNode does not exist or is the last node in the set
Returns all nodes after the given $referenceNode in this set
Returns all nodes after the given $referenceNode in this set
No description
No description
Details
static TraversableNodes
fromArray(array $nodes)
No description
TraversableNodes
merge(TraversableNodes $other)
No description
bool
isEmpty()
No description
int
count()
No description
TraversableNodeInterface
previous(TraversableNodeInterface $referenceNode)
Returns the node before the given $referenceNode in this set - or throws an exception if $referenceNode does not exist or is the first node in the set
TraversableNodes
previousAll(TraversableNodeInterface $referenceNode)
Returns all nodes before the given $referenceNode in this set
TraversableNodeInterface
next(TraversableNodeInterface $referenceNode)
Returns the node after the given $referenceNode in this set - or throws an exception if $referenceNode does not exist or is the last node in the set
TraversableNodes
nextAll(TraversableNodeInterface $referenceNode)
Returns all nodes after the given $referenceNode in this set
TraversableNodes
until(TraversableNodeInterface $referenceNode)
Returns all nodes after the given $referenceNode in this set
ArrayIterator
getIterator()
No description
array
toArray()
No description