Depending on the form complexity, fill each DTO attribute from $ _REQUEST may be a lot of work. Of course, good frameworks solve this case easily. But if for some reason our framework don't implement this mapping, or if we aren't using any framework, and for each DTO attribute we must do something like $ dto-> seAttributeName ($ _REQUEST ['attributeName']), an alternative is to implement a simple function that does it for us.