File tree 2 files changed +5
-2
lines changed
src/Symfony/Bundle/TwigBundle
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 1
1
CHANGELOG
2
2
=========
3
3
4
+ 6.0
5
+ ---
6
+
7
+ * The ` twig ` service is now private
8
+
4
9
5.3
5
10
---
6
11
Original file line number Diff line number Diff line change 52
52
return static function (ContainerConfigurator $ container ) {
53
53
$ container ->services ()
54
54
->set ('twig ' , Environment::class)
55
- ->public ()
56
55
->args ([service ('twig.loader ' ), abstract_arg ('Twig options ' )])
57
56
->call ('addGlobal ' , ['app ' , service ('twig.app_variable ' )])
58
57
->call ('addRuntimeLoader ' , [service ('twig.runtime_loader ' )])
65
64
->tag ('container.preload ' , ['class ' => ExtensionSet::class])
66
65
->tag ('container.preload ' , ['class ' => Template::class])
67
66
->tag ('container.preload ' , ['class ' => TemplateWrapper::class])
68
- ->tag ('container.private ' , ['package ' => 'symfony/twig-bundle ' , 'version ' => '5.2 ' ])
69
67
70
68
->alias ('Twig_Environment ' , 'twig ' )
71
69
->alias (Environment::class, 'twig ' )
You can’t perform that action at this time.
0 commit comments