Create Three Symfony Back Ends - Part #21 - ViewResponseListener in FOSRESTBundle

preview_player
Показать описание
This next step is optional, but I like how it cuts down my controller method code even further. We're going to enable and configure the ViewResponseListener. This will allow us to simply return a View instance from our controller methods.
Рекомендации по теме