registerRequestConfiguration example



        if (!empty($config['test'])) {
            $loader->load('test.php');

            if (!class_exists(AbstractBrowser::class)) {
                $container->removeDefinition('test.client');
            }
        }

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

        if ($this->readConfigEnabled('assets', $container$config['assets'])) {
            if (!class_exists(\Symfony\Component\Asset\Package::class)) {
                throw new LogicException('Asset support cannot be enabled as the Asset component is not installed. Try running "composer require symfony/asset".');
            }

            $this->registerAssetsConfiguration($config['assets']$container$loader);
        }

        if ($this->readConfigEnabled('asset_mapper', $container$config['asset_mapper'])) {
            
Home | Imprint | This part of the site doesn't use cookies.