Uvm_field_* for real arrays

I want to add the real my_var [4:0] variable to the UVM fields of a transaction which extends uvm_sequence_item, in order to print out the values.

But, I cannot manage to add it.
I can only add single real values with:
uvm_field_real(my_var[0],UVM_ALL_ON)

How could i add the entire my_var as a uvm_field_*()?

Thank you for the help you can provide.

Hi Dave, this link is not working. Can you please fix it!