Hook Result Array Protected Key Values

hi i am try something save emails.

i am getting all values with this way

function fn_customer_notifications_mailer_send_post($message,$transport,$result)

but some values says protected

eg:

  ["data":protected]=>

how can i acces that ? i check the orginal files.

says getData(); but then doesnt work ?

please help