You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 :
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.
The text was updated successfully, but these errors were encountered: