if (static::
class === NormalInstallerServiceProvider::
class) { $lazy_route_provider =
$container->
register('router.route_provider.installer'
);
$lazy_route_provider ->
setClass(InstallerRouteProviderLazyBuilder::
class) ->
setDecoratedService('router.route_provider'
) ->
addArgument(new Reference('router.route_provider.installer.inner'
)) ->
addArgument(new Reference('router.builder'
)) ->
addTag('event_subscriber'
);
} $pass_config =
$container->
getCompilerPassConfig();
$pass_config->
setRemovingPasses(array_filter($pass_config->
getRemovingPasses(),
function D
$pass) { // Remove InlineServiceDefinitionsPass, RemoveUnusedDefinitionsPass,
// AnalyzeServiceReferencesPass and ReplaceAliasByActualDefinitionPass as
// these are not necessary during installation.
// @see \Symfony\Component\DependencyInjection\Compiler\PassConfig
return !
($pass instanceof InlineServiceDefinitionsPass ||
$pass instanceof RemoveUnusedDefinitionsPass ||
$pass instanceof AnalyzeServiceReferencesPass ||
$pass instanceof ReplaceAliasByActualDefinitionPass
);
}));
$pass_config->
setAfterRemovingPasses(array_filter($pass_config->
getAfterRemovingPasses(),
function D
$pass) { // Remove ResolveHotPathPass as Drupal's container dumper does not support