Report_phase usage within interface

In reply to prniar:

The simple way is constructing a uvm_component inside your module or interface.

module something;

class my_check extends uvm_pkg::uvm_component;
...

function void report_phase(uvm_phase phase);
   // your code here
endfunction
endclass
my_check h=new("my_check",null);

...
endmodule

Construction of the class will enable the report_phase to get executed.