Hello. How can I change the titles of the fields in the form? Is there a

Hello. How can I change the titles of the fields in the form? Is there a code example?

With these one of these methods:

CrudFormFactory::setFieldCaptions