toData #232
francoism90
started this conversation in
Ideas
toData
#232
Replies: 2 comments 2 replies
-
What would be the use case here? You already have a data object so a syntax like By the way, these methods can only be called on an existing data object, not statically: UserData::toArray();
UserData::toData(); |
Beta Was this translation helpful? Give feedback.
2 replies
-
@rubenvanassche Thanks again for your suggestion. I've used Laravel Fluent which converts it to exactly what I wanted. :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Would it be possible to transform, but instead of an array, return a (Data) object?
Maybe I'm doing something wrong, but I now need to do this:
It would be cool if you could use something like this:
Does this exists already?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions