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()
32
32
$ container ->setParameter ('kernel.root_dir ' , 'foo ' );
33
33
34
34
$ globalClearer = new Definition (Psr6CacheClearer::class);
35
+ $ globalClearer ->setPublic (true );
35
36
$ container ->setDefinition ('cache.global_clearer ' , $ globalClearer );
36
37
37
38
$ publicPool = new Definition ();
39
+ $ publicPool ->setPublic (true );
38
40
$ publicPool ->addArgument ('namespace ' );
39
41
$ publicPool ->addTag ('cache.pool ' , ['clearer ' => 'clearer_alias ' ]);
40
42
$ container ->setDefinition ('public.pool ' , $ publicPool );
@@ -46,6 +48,7 @@ public function testPoolRefsAreWeak()
46
48
$ container ->setDefinition ('private.pool ' , $ privatePool );
47
49
48
50
$ clearer = new Definition ();
51
+ $ clearer ->setPublic (true );
49
52
$ container ->setDefinition ('clearer ' , $ clearer );
50
53
$ container ->setAlias ('clearer_alias ' , 'clearer ' );
51
54
You can’t perform that action at this time.
0 commit comments