Issue Feature Closed

#73752Allow accessing ObjectStorage as array in Fluid and other places

Claus Due 02/29/16, 15:16 updated 10/17/17, 23:07

Description

By creating an extremely simple aliasing of “toArray()” on ObjectStorage allowing it to be called as “getArray()” enables things like:

ObjectAccess::getPropertyPath($subject, ‘objectstorageproperty.array.4’) to get the 4th element

{myObject.objectstorageproperty.array.4} in Fluid (including {myObject.objectstorageproperty.array.{dynamicIndex}} in v8)

Reviews 1