What does it mean when a guy says “I will forever be yours” and “I will be whatever you want me to be”?

have a guy friend and I suppose we’re pretty close. I was sad about a friend of mine cutting me out of her life and he said some things that I wish I had asked him what he meant by them.

He said “I will forever be yours”

In another conversation, he said “I will be whatever you want me to be”

What do these things mean exactly?
What does it mean when a guy says “I will forever be yours” and “I will be whatever you want me to be”?
1
1
Add Opinion