-
-
Notifications
You must be signed in to change notification settings - Fork 30
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Hi,
Nice piece of code. Do you think there is a way to access the $items property in the Structure::class ?
I use this value in 2 cases :
- Force the castTo('array') for all the structure and sub-structures.
- I need to enforce the key value used to be only in the range ['a-z0-9_'].
For the moment i do a reflection and i access the private property, but a public function getItems() could be usefull. Or perhaps an "iterator" inside the structure class.
What do you think about this feature, this could add more flexibility using this great library.
Keep up the good work.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request