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
From what I understand it is only possible to use the objectBuilder to get an StdClass object instead of an array.
Is there a way to mimic mysqli method fetch_object("MyCustomClass") and get back an instance of MyCustomClass?
Thanks
The text was updated successfully, but these errors were encountered:
pietropietro
changed the title
missing wrapper method for mysqli fetch_object – which makes it possible to return a custom class
missing wrapper method for mysqli fetch_object – which makes it possible to return a custom class instance
Aug 21, 2022
From what I understand it is only possible to use the
objectBuilder
to get an StdClass object instead of an array.Is there a way to mimic mysqli method fetch_object("MyCustomClass") and get back an instance of MyCustomClass?
Thanks
The text was updated successfully, but these errors were encountered: