How to extract degrees of freedom and t-values from pairwise.t.test() function


I am using pairwise.t.test() for multiple pairwise comparisons and I want to get t-values and df from pairwise.t.test(), as pairwise.t.test() does not return them, but only p-values.
Is there any way to extract them, for example, by extending that function?