FOSRestBundle custom view handler not registering
问题 I'm trying to create custom handler for serializing response into csv format. So far I've been following the steps from documentation (http://symfony.com/doc/master/bundles/FOSRestBundle/2-the-view-layer.html#custom-handler), however when calling my endpoint with .csv extension I still get the error: The format "csv" is not supported for serialization. Here's my services.yml config bit: api.csv_handler: class: ApiBundle\ViewHandlers\CsvViewHandler api.view_handler: parent: fos_rest.view