geosocio/http-serializer-bundle

Symfony Bundle for Serializing Http Requests & Responses

2.0.1 2018-03-11 05:06 UTC

This package is auto-updated.

Last update: 2024-11-12 01:19:48 UTC


README

A Symfony Bundle for the Http Serializer library.

Configuration

geosocio_http_serializer:
    # Default format exceptions should be rendered in. This null by default.
    default_format: 'json'

Group Resolvers

You may tag services with either geosocio_http_serializer.request_group_resolver or geosocio_http_serializer.response_group_resolver to add the service as a Group Resolver. The service must implement GeoSocio\HttpSerializer\GroupResolver\RequestGroupResolverInterface or GeoSocio\HttpSerializer\GroupResolver\ResponseGroupResolverInterface respectively.