user_graded event object

user_graded event object

by Paul Montagna -
Number of replies: 0
So I need to get idnumber and some other information when a user_graded event fires. So I set it all up and error logged $event->get_grade() but it did not have idnumber. So I logged $event object and noticed it was in there but not sure how to access it. In the image below seems I can get what is in the [grade:protected] object just fine using get_grade() but the idnumber is in [recordsnapshots:core\event\base\private] array. Not sure how to access it, anyone got any ideas?

$event object
Average of ratings: -