public function build(ContainerBuilder $container)
    {
        $container->addCompilerPass(new ConfigurationCheckPass());
        $container->addCompilerPass(new ControllerConfigurationPass());
        $container->addCompilerPass(new LockerConfigurationPass());
        $container->addCompilerPass(new RegisterJobsPass());
        $container->addCompilerPass(new RegisterConstraintProvidersPass());
        $container->addCompilerPass(new RegisterEventListenersPass());
        $container->addCompilerPass(new RegisterDoctrineListenerPass());

        $this->addRegisterMappingsPass($container);
    }
public function build(ContainerBuilder $container)
    {
        $container->addCompilerPass(new ConfigurationCheckPass());
        $container->addCompilerPass(new ControllerConfigurationPass());
        $container->addCompilerPass(new LockerConfigurationPass());
        $container->addCompilerPass(new RegisterJobsPass());
        $container->addCompilerPass(new RegisterConstraintProvidersPass());
        $container->addCompilerPass(new RegisterEventListenersPass());
        $container->addCompilerPass(new RegisterDoctrineListenerPass());

        $this->addRegisterMappingsPass($container);
    }
{@inheritdoc}