Skip to content
Snippets Groups Projects
Commit b867832b authored by Claus Due's avatar Claus Due Committed by Benni Mack
Browse files

[FEATURE] Allow calling toArray() on ObjectStorage using name getArray()

This change adds an alias method which allows ObjectStorage's
values to be accessed using a "get"-prefixed method name which
in turn allows the values to be addressed using numerical
indices or converted to arrays on-the-fly by adding an ".array"
segment to the property path.

Change-Id: Ibe94910d6043a52c7ef330e18e0330021ecbb325
Resolves: #73752
Releases: master
Reviewed-on: https://review.typo3.org/46961


Reviewed-by: default avatarOliver Hader <oliver.hader@typo3.org>
Tested-by: default avatarOliver Hader <oliver.hader@typo3.org>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarBenni Mack <benni@typo3.org>
parent 5f0224c8
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment