This is a typical usage of the paramsPrepareParamsStack
. You can see this answer too. An example of usage this stack you can find here.
The way you initialize the action instance might vary, that's why this stack could apply. Typically you might just instantiate a User
object to accept parameters instead of retrieving it from the database.