Hi ,
I have return type object is "$answer" and I am getting the output by ussing "echo $answer"; is :
array
'AnswerId' => int 1
'Comment' => string 'The license is found.OK'
'LicenseInt' =>
array
'LicenseID' => string 'L005673’. 'Prod_ID' => int 5644
'LicenseDate' =>
object(DateTime)[35]
public 'date' => string '2020-12-12 00:00:00'
'LicensesIssued' => int 0
'VendorStr' => string '
Now I am able to display the value by
echo $answer->AnswerId;
but unable to display the value 'LicenseID' in array 'LicenseInt' or 'date' in array 'LicenseDate'.