final class Subtrees implements IteratorAggregate, Countable (View source)

An immutable, type-safe collection of Subtree objects

Methods

static Subtrees
createEmpty()

No description

static Subtrees
fromArray(array $subtrees)

No description

void
add(Subtree $subtree)

No description

getIterator()

No description

int
count()

No description

Subtree|null
first()

No description

Details

static Subtrees createEmpty()

No description

Return Value

Subtrees

static Subtrees fromArray(array $subtrees)

No description

Parameters

array $subtrees

Return Value

Subtrees

void add(Subtree $subtree)

internal  
 

No description

Parameters

Subtree $subtree

Return Value

void

ArrayIterator getIterator()

No description

Return Value

ArrayIterator

int count()

No description

Return Value

int

Subtree|null first()

No description

Return Value

Subtree|null