Closed izshreyansh closed 5 years ago
I am really sorry, I just assumed that toArray() was a Laravel function. I know that is so stupid to think.
// Cache the values of the response object.
// toArray returns an assoicated array of the response object properties.
Cache::put($key,$results->toArray(),24*60); ```
Everything is working as it should.
I'm trying to save this whole object in Cache for later use.
Unknown property DTS\eBaySDK\Types\BaseTypevalue
error. Which is rightfully so caused by array having: BaseType key.Can anyone help please?
Originally posted by @shreyanshpanchal in https://github.com/davidtsadler/ebay-sdk-php/issues/1#issuecomment-444857294