File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Tests/DependencyInjection/Compiler Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -32,9 +32,11 @@ public function testPoolRefsAreWeak()
3232 $ container ->setParameter ('kernel.root_dir ' , 'foo ' );
3333
3434 $ globalClearer = new Definition (Psr6CacheClearer::class);
35+ $ globalClearer ->setPublic (true );
3536 $ container ->setDefinition ('cache.global_clearer ' , $ globalClearer );
3637
3738 $ publicPool = new Definition ();
39+ $ publicPool ->setPublic (true );
3840 $ publicPool ->addArgument ('namespace ' );
3941 $ publicPool ->addTag ('cache.pool ' , ['clearer ' => 'clearer_alias ' ]);
4042 $ container ->setDefinition ('public.pool ' , $ publicPool );
@@ -46,6 +48,7 @@ public function testPoolRefsAreWeak()
4648 $ container ->setDefinition ('private.pool ' , $ privatePool );
4749
4850 $ clearer = new Definition ();
51+ $ clearer ->setPublic (true );
4952 $ container ->setDefinition ('clearer ' , $ clearer );
5053 $ container ->setAlias ('clearer_alias ' , 'clearer ' );
5154
You can’t perform that action at this time.
0 commit comments