/**
* Responds to the app.config configuration parameter.
*
* @return void
*
* @throws LogicException
*/
public function load(array
$configs, ContainerBuilder
$container) { $loader =
new PhpFileLoader($container,
new FileLocator(\
dirname(__DIR__
).'/Resources/config'
));
if (class_exists(InstalledVersions::
class) && InstalledVersions::
isInstalled('symfony/symfony'
) && 'symfony/symfony'
!== (InstalledVersions::
getRootPackage()['name'
] ?? ''
)) { trigger_deprecation('symfony/symfony', '6.1', 'Requiring the "symfony/symfony" package is deprecated; replace it with standalone components instead.'
);
} $loader->
load('web.php'
);
$loader->
load('services.php'
);
$loader->
load('fragment_renderer.php'
);
$loader->
load('error_renderer.php'
);
if (!ContainerBuilder::
willBeAvailable('symfony/clock', ClockInterface::
class,
['symfony/framework-bundle'
])) { $container->
removeDefinition('clock'
);
$container->
removeAlias(ClockInterface::
class);