Casting in Entity Classes |
Thank you.
The only solution i could solve the problem was a custom cast. Then i used the unserialize function and it is working. I think i found the reason why it is not working. This is from the ArrayCast Class: PHP Code: if ((str_starts_with($value, 'a:') || str_starts_with($value, 's:'))) { My serialized string of the object starts with O:8:"stdClass" Maybe in the future there is a feature to use an object as well :-) |
Messages In This Thread |
Casting in Entity Classes - by groovebird - 12-14-2024, 05:14 AM
RE: Casting in Entity Classes - by davis.lasis - 12-14-2024, 11:31 AM
RE: Casting in Entity Classes - by groovebird - 12-14-2024, 12:03 PM
|