I have some controllers with a lot of functions, that make my API. Like getUsers, setPrice etc. All of them use input class and I pass parameters to them using GET or POST method. But how should I comment them using phpdoc? When we consider models, it’s clear: we have a function with some params, so I use @param tag. But I can’t do that if we consider controller functions as they do not have any params (again: I use input class. Instead of /setPrice/1000/ I use /setPrice/?price=1000).
Thanks in advance