It realized in base class from FOSUserBundle and using it as ``BaseUser`` in your entity. So your entity has all of BaseUser.