DependencyInjection/Compiler/ConverterPass.php
private function findConverters(ContainerBuilder $container)
    {
        $converters = [];

        foreach ($container->findTaggedServiceIds('fxp_resource.converter') as $serviceId => $tag) {
            $type = isset($tag[0]['type']) ? $this->getRealValue($container, $tag[0]['type']) : $this->getType($container, $serviceId);
            $converters[$type] = $container->getDefinition($serviceId);
        }

        return array_values($converters);
    }
private function findConverters(ContainerBuilder $container)
    {
        $converters = [];

        foreach ($container->findTaggedServiceIds('fxp_resource.converter') as $serviceId => $tag) {
            $type = isset($tag[0]['type']) ? $this->getRealValue($container, $tag[0]['type']) : $this->getType($container, $serviceId);
            $converters[$type] = $container->getDefinition($serviceId);
        }

        return array_values($converters);
    }
private function findConverters ( ContainerBuilder $ container ) { $ converters = [ ] ; foreach ( $ container -> findTaggedServiceIds ( 'fxp_resource.converter' ) as $ serviceId => $ tag ) { $ type = isset ( $ tag [ 0 ] [ 'type' ] ) ? $ this -> getRealValue ( $ container , $ tag [ 0 ] [ 'type' ] ) : $ this -> getType ( $ container , $ serviceId ) ; $ converters [ $ type ] = $ container -> getDefinition ( $ serviceId ) ; } return array_values ( $ converters ) ; }
Find the converters.

@param ContainerBuilder $container The container service

@return Definition[] The converter definitions
Find the converters .