public function load(array $configs, ContainerBuilder $container)
    {
        $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
        $loader->load('services.yaml');

        $configuration = new Configuration;
        $config = $this->processConfiguration($configuration, $configs);

        $definitions = [
            'uuidentifiable' => EventListener\UuidentifiableListener::class,
            'custom_identifiable' => EventListener\CustomIdentifiableListener::class
        ];

        foreach ($config as $behavior => $enabled) {
            if (!$enabled) {
                $container->removeDefinition($definitions[$behavior]);
            }
        }
    }
public function load(array $configs, ContainerBuilder $container)
    {
        $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
        $loader->load('services.yaml');

        $configuration = new Configuration;
        $config = $this->processConfiguration($configuration, $configs);

        $definitions = [
            'uuidentifiable' => EventListener\UuidentifiableListener::class,
            'custom_identifiable' => EventListener\CustomIdentifiableListener::class
        ];

        foreach ($config as $behavior => $enabled) {
            if (!$enabled) {
                $container->removeDefinition($definitions[$behavior]);
            }
        }
    }
{@inheritdoc}