public function load(array $configs, ContainerBuilder $container)
    {
        (new PhpFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')))
            ->load('services.php');

        $container->registerForAutoconfiguration(TypeInterface::class)
            ->setPublic(false)
            ->addTag('ruwork_synchronizer.synchronization_type');

        if (!class_exists(DoctrineBundle::class)) {
            $container->removeDefinition(FlushListener::class);
        }
    }
public function load(array $configs, ContainerBuilder $container)
    {
        (new PhpFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')))
            ->load('services.php');

        $container->registerForAutoconfiguration(TypeInterface::class)
            ->setPublic(false)
            ->addTag('ruwork_synchronizer.synchronization_type');

        if (!class_exists(DoctrineBundle::class)) {
            $container->removeDefinition(FlushListener::class);
        }
    }
{@inheritdoc}