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);
    }