Difference btw FPIOA and fpioa manager

Pls can anyone outline the difference between:
FPIOA.set_function() and fm.register() I’m very much confused about these two. Aren’t they just the same thing?