final class References implements IteratorAggregate, ArrayAccess, Countable (View source)

An immutable, 0-indexed, type-safe collection of Reference objects

Each reference describes the edge with its properties to another node.

The properties {\Neos\ContentRepository\Core\Projection\ContentGraph\Reference::$properties} are declared directly on the reference, and can provide information how one node is linked to another.

This collection might return multiple references with the same name {\Neos\ContentRepository\Core\Projection\ContentGraph\Reference::$name} if multiple "outgoing" references were set.

Properties

Reference> $references

Methods

static References
fromArray(array $array)

No description

getNodes()

No description

getIterator()

No description

bool
offsetExists(mixed $offset)

No description

Reference|null
offsetGet(mixed $offset)

No description

void
offsetSet(mixed $offset, mixed $value)

No description

void
offsetUnset(mixed $offset)

No description

int
count()

No description

Details

static References fromArray(array $array)

No description

Parameters

array $array

Return Value

References

Nodes getNodes()

No description

Return Value

Nodes

Traversable getIterator()

No description

Return Value

Traversable

bool offsetExists(mixed $offset)

No description

Parameters

mixed $offset

Return Value

bool

Reference|null offsetGet(mixed $offset)

No description

Parameters

mixed $offset

Return Value

Reference|null

void offsetSet(mixed $offset, mixed $value)

No description

Parameters

mixed $offset
mixed $value

Return Value

void

void offsetUnset(mixed $offset)

No description

Parameters

mixed $offset

Return Value

void

int count()

No description

Return Value

int