Actions
Feature #73752
closedAllow accessing ObjectStorage as array in Fluid and other places
Start date:
2016-02-29
Due date:
% Done:
100%
Estimated time:
PHP Version:
Tags:
Complexity:
no-brainer
Sprint Focus:
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)
Actions