private function setFiltersManager($repository, ContainerBuilder $container)
    {
        $definition = new Definition(
            'ONGR\FilterManagerBundle\Search\FilterManager',
            [
                new Reference('ongr_translations.filters_container'),
                new Reference($repository),
                new Reference('event_dispatcher'),
                new Reference('jms_serializer')
            ]
        );

        $container->setDefinition('ongr_translations.filter_manager', $definition);
    }