Skip to content

Instantly share code, notes, and snippets.

@odino
Created May 1, 2014 18:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save odino/b5d963d8f8aec904d76c to your computer and use it in GitHub Desktop.
Save odino/b5d963d8f8aec904d76c to your computer and use it in GitHub Desktop.
services:
api_response.transformer.camel_case:
class: "Namshi\\...\\Transformer\\CamelCase"
arguments:
tags: ['rose']
namingStrategy: @api_response.cache_naming_strategy
visitor: @jms_serializer.json_serialization_visitor
api_response.transformer.jsonp:
class: "Namshi\\..\\Transformer\\Jsonp"
arguments:
tags: ['jsonp']
request: @request_stack
api_response.transformer.translation:
class: "Namshi\\..\\Transformer\\Translation"
arguments:
tags: []
translator: @translator
locale: @namshi.locale
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment