I’m now using parse/php-sdk in my laravel with Vue app. When I retrieve all my record from parse server, I got ParseObject array like this:
`
array(1) { [0]=> object(Parse\ParseObject)#303 (9) {
["serverData":protected]=> array(2) {
["name"]=> string(5) "Blink" ["phone"]=> string(5) "12232" }
["operationSet":protected]=> array(0) { }
["estimatedData":"Parse\ParseObject":private]=> array(2) {
["name"]=> string(5) "Blink" ["phone"]=> string(5) "12232" }
["dataAvailability":"Parse\ParseObject":private]=> array(2) {
["name"]=> bool(true) ["phone"]=> bool(true) }
["className":"Parse\ParseObject":private]=> string(5) "Brand"
["objectId":"Parse\ParseObject":private]=> string(10) "gTDQ8D8s7A"
["createdAt":"Parse\ParseObject":private]=> object(DateTime)#304 (3) {
["date"]=> string(26) "2020-06-13 19:41:05.172000"
["timezone_type"]=> int(2)
["timezone"]=> string(1) "Z" }
["updatedAt":"Parse\ParseObject":private]=> object(DateTime)#306 (3) {
["date"]=> string(26) "2020-06-13 19:41:05.172000"
["timezone_type"]=> int(2) ["timezone"]=> string(1) "Z" }
["hasBeenFetched":"Parse\ParseObject":private]=> bool(false) } }
`
The problem is How can I get the value of name and phone from this object in my script tag in blade template?