private function addSerializerFormats(ArrayNodeDefinition $node)
    {
        // NEXT_MAJOR : do not execute this if jms/serializer is missing
        $node
            ->children()
                ->arrayNode('serializer')
                    ->addDefaultsIfNotSet()
                    ->children()
                        ->arrayNode('formats')
                            ->prototype('scalar')->end()
                            ->defaultValue(['json', 'xml', 'yml'])
                            ->info('Default serializer formats, will be used while getting subscribing methods.')
                        ->end()
                    ->end()
                ->end()
            ->end()
        ;
    }
private function addSerializerFormats(ArrayNodeDefinition $node)
    {
        // NEXT_MAJOR : do not execute this if jms/serializer is missing
        $node
            ->children()
                ->arrayNode('serializer')
                    ->addDefaultsIfNotSet()
                    ->children()
                        ->arrayNode('formats')
                            ->prototype('scalar')->end()
                            ->defaultValue(['json', 'xml', 'yml'])
                            ->info('Default serializer formats, will be used while getting subscribing methods.')
                        ->end()
                    ->end()
                ->end()
            ->end()
        ;
    }
private function addSerializerFormats ( ArrayNodeDefinition $ node ) { // NEXT_MAJOR : do not execute this if jms/serializer is missing $ node -> children ( ) -> arrayNode ( 'serializer' ) -> addDefaultsIfNotSet ( ) -> children ( ) -> arrayNode ( 'formats' ) -> prototype ( 'scalar' ) -> end ( ) -> defaultValue ( [ 'json' , 'xml' , 'yml' ] ) -> info ( 'Default serializer formats, will be used while getting subscribing methods.' ) -> end ( ) -> end ( ) -> end ( ) -> end ( ) ; }
Returns configuration for serializer formats.
Returns configuration for serializer formats .