8000 [TwigBundle] Remove deprecated code · symfony/symfony@6e675fc · GitHub
[go: up one dir, main page]

Skip to content

Commit 6e675fc

Browse files
committed
[TwigBundle] Remove deprecated code
1 parent b494790 commit 6e675fc

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/Symfony/Bundle/TwigBundle/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
CHANGELOG
22
=========
33

4+
6.0
5+
---
6+
7+
* The `twig` service is now private
8+
49
5.3
510
---
611

src/Symfony/Bundle/TwigBundle/Resources/config/twig.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@
5252
return static function (ContainerConfigurator $container) {
5353
$container->services()
5454
->set('twig', Environment::class)
55-
->public()
5655
->args([service('twig.loader'), abstract_arg('Twig options')])
5756
->call('addGlobal', ['app', service('twig.app_variable')])
5857
->call('addRuntimeLoader', [service('twig.runtime_loader')])
@@ -65,7 +64,6 @@
6564
->tag('container.preload', ['class' => ExtensionSet::class])
6665
->tag('container.preload', ['class' => Template::class])
6766
->tag('container.preload', ['class' => TemplateWrapper::class])
68-
->tag('container.private', ['package' => 'symfony/twig-bundle', 'version' => '5.2'])
6967

7068
->alias('Twig_Environment', 'twig')
7169
->alias(Environment::class, 'twig')

0 commit comments

Comments
 (0)
0