References
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.
-
references: In the case of "outgoing" references {\Neos\ContentRepository\Core\Projection\ContentGraph\ContentSubgraphInterface::findReferences()} each reference name {\Neos\ContentRepository\Core\Projection\ContentGraph\Reference::$name} corresponds to the reference property name from the "outgoing" node, to wich node {\Neos\ContentRepository\Core\Projection\ContentGraph\Reference::$node} the reference points to.
-
back-references: In the case of "incoming" references {\Neos\ContentRepository\Core\Projection\ContentGraph\ContentSubgraphInterface::findBackReferences()} each reference name {\Neos\ContentRepository\Core\Projection\ContentGraph\Reference::$name} corresponds to the reference property name from wich "incoming" node {\Neos\ContentRepository\Core\Projection\ContentGraph\Reference::$node} the reference points from.
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
No description
No description
No description
No description
No description
No description
Details
static References
fromArray(array $array)
No description
Nodes
getNodes()
No description
Traversable
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