$builderWithoutDeprecations->
setParameter('kernel.container_class', 'KernelContainerWithout'
);
return [ 'deprecations' =>
$builderWithDeprecations,
'deprecations_empty' =>
$builderWithoutDeprecations,
];
} public static function getContainerBuilders() { $builder1 =
new ContainerBuilder();
$builder1->
setDefinitions(self::
getContainerDefinitions());
$builder1->
setAliases(self::
getContainerAliases());
return ['builder_1' =>
$builder1];
} public static function getContainerDefinitionsWithExistingClasses() { return [ 'existing_class_def_1' =>
new Definition(ClassWithDocComment::
class),
'existing_class_def_2' =>
new Definition(ClassWithoutDocComment::
class),
];
}