Creating a serializer callable for every type in an index and passing it to elastica

This commit is contained in:
Lea Haensenberger 2013-01-24 15:07:38 +01:00 committed by Lukas Kahwe Smith
commit 73fd4fe6b0
2 changed files with 25 additions and 8 deletions

View file

@ -34,7 +34,15 @@ class Configuration implements ConfigurationInterface
->scalarNode('default_client')->end()
->scalarNode('default_index')->end()
->scalarNode('default_manager')->defaultValue('orm')->end()
->scalarNode('serializer_id')->end()
->arrayNode('serializer')
->prototype('array')
->treatNullLike(array())
->children()
->scalarNode('callable_class')->end()
->scalarNode('id')->end()
->end()
->end()
->end()
->end()
;