skip to Main Content

Laravel – Access nested PHP object response from email API

I want to access the 'messageid' and 'errorcode' from the object response returned from Postmark email API. How do I access these two nested data points. I tried $request->_container['errorcode'] and returns NULL object(PostmarkModelsDynamicResponseModel)#329 (2) { ["_container":"PostmarkModelsCaseInsensitiveArray":private]=> array(5) { ["errorcode"]=> int(0)…

VIEW QUESTION
Back To Top
Search