AbstractFusionObject
abstract class AbstractFusionObject implements ArrayAccess (View source)
Base class for all Fusion objects
Properties
protected Runtime | $runtime | ||
protected string | $path | The Fusion path currently being rendered |
|
protected string | $fusionObjectName | Name of this Fusion object, like Neos.Neos:Text |
|
protected array | $fusionValueCache |
Methods
Evaluate this Fusion object and return the result
Get the Fusion runtime this object was created in.
Return the Fusion value relative to this Fusion object (with processors etc applied).
Dummy implementation of ArrayAccess to allow this.XXX access in processors.
Dummy implementation of ArrayAccess to allow this.XXX access in processors.
Dummy implementation of ArrayAccess to allow this.XXX access in processors.
Dummy implementation of ArrayAccess to allow this.XXX access in processors.
Details
__construct(Runtime $runtime, string $path, string $fusionObjectName)
Constructor
abstract mixed
evaluate()
Evaluate this Fusion object and return the result
Runtime
getRuntime()
Get the Fusion runtime this object was created in.
protected mixed
fusionValue(string $path)
Return the Fusion value relative to this Fusion object (with processors etc applied).
Note that subsequent calls of fusionValue() with the same Fusion path will return the same values since the first evaluated value will be cached in memory.
bool
offsetExists(mixed $offset)
Dummy implementation of ArrayAccess to allow this.XXX access in processors.
mixed
offsetGet(mixed $offset)
Dummy implementation of ArrayAccess to allow this.XXX access in processors.
void
offsetSet(mixed $offset, mixed $value)
Dummy implementation of ArrayAccess to allow this.XXX access in processors.
void
offsetUnset(mixed $offset)
Dummy implementation of ArrayAccess to allow this.XXX access in processors.