Text this: The Palatini formalism of the $$f(R,{\mathcal {L}}_{m},T)$$ f ( R , L m , T ) theory of gravity