What is a Symfony controller?
Symfony controller is a PHP function that obtains information from the HTTP request to construct and return an HTTP response. The response can vary and could be an XML document, an HTML page, a redirect, a 404 error, a serialized JSON array, or any other request.
Suggest An Answer
Symfony controller is a PHP "class", I would say.