registerLockConfiguration example

->addTag('container.error')
                ->clearTag('kernel.event_subscriber');

            $container->removeDefinition('console.command.serializer_debug');
        }

        if ($propertyInfoEnabled) {
            $this->registerPropertyInfoConfiguration($container$loader);
        }

        if ($this->readConfigEnabled('lock', $container$config['lock'])) {
            $this->registerLockConfiguration($config['lock']$container$loader);
        }

        if ($this->readConfigEnabled('semaphore', $container$config['semaphore'])) {
            $this->registerSemaphoreConfiguration($config['semaphore']$container$loader);
        }

        if ($this->readConfigEnabled('rate_limiter', $container$config['rate_limiter'])) {
            if (!interface_exists(LimiterInterface::class)) {
                throw new LogicException('Rate limiter support cannot be enabled as the RateLimiter component is not installed. Try running "composer require symfony/rate-limiter".');
            }

            
Home | Imprint | This part of the site doesn't use cookies.