final class LazySelfReferentialProps implements ArrayAccess, Stringable (View source)

internal  
 

A proxy for Fusions private props.

It lazily evaluates a path when accessed via the passed $effectiveContext the context this is not set. One can reference another private prop when evaluating - a circular reference will result in an Exception. If a private prop is not defined but accessed an Exception will also be thrown. The private props are not Traversable but only a Proxy as it's not trivial to know all the keys beforehand and using a Neos.Fusion:DataStructure wouldn't be lazy.

Methods

__construct(string $parentPath, Runtime $runtime, array $effectiveContext, string $selfReferentialId)

No description

mixed
offsetGet($path)

No description

bool
offsetExists($offset)

No description

void
offsetSet($path, $value)

No description

void
offsetUnset($path)

No description

string
__toString()

No description

Details

__construct(string $parentPath, Runtime $runtime, array $effectiveContext, string $selfReferentialId)

No description

Parameters

string $parentPath
Runtime $runtime
array $effectiveContext
string $selfReferentialId

mixed offsetGet($path)

No description

Parameters

$path

Return Value

mixed

bool offsetExists($offset)

No description

Parameters

$offset

Return Value

bool

void offsetSet($path, $value)

No description

Parameters

$path
$value

Return Value

void

void offsetUnset($path)

No description

Parameters

$path

Return Value

void

string __toString()

No description

Return Value

string