/**
* Returns a loader for the container.
*/
protected function getContainerLoader(ContainerInterface
$container): DelegatingLoader
{ $env =
$this->
getEnvironment();
$locator =
new FileLocator($this);
$resolver =
new LoaderResolver([ new XmlFileLoader($container,
$locator,
$env),
new YamlFileLoader($container,
$locator,
$env),
new IniFileLoader($container,
$locator,
$env),
new PhpFileLoader($container,
$locator,
$env,
class_exists(ConfigBuilderGenerator::
class) ?
new ConfigBuilderGenerator($this->
getBuildDir()) : null
),
new GlobFileLoader($container,
$locator,
$env),
new DirectoryLoader($container,
$locator,
$env),
new ClosureLoader($container,
$env),
]);
return new DelegatingLoader($resolver);
} private function preBoot(): ContainerInterface
{ if ($this->debug
) {