Feature: #73752 - Allow accessing ObjectStorage as array in Fluid and other places
See forge#73752
Description
Creates an alias of to
allowing the method to be called as get
which in turn allows the method to be called transparently from
Object
, enabling access in Fluid and other places.
Impact
By creating an extremely simple aliasing of to
on ObjectStorage allowing
it to be called as get
enables:
ObjectAccess::getPropertyPath($subject, 'objectstorageproperty.array.4') to get the 4th element
Copied!
{myObject.objectstorageproperty.array.4} in Fluid (including {myObject.objectstorageproperty.array.{dynamicIndex}} in v8)
Copied!