1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/13616] Uses symfony/proxy-manager-bridge to lazy load twig lexer

PHPBB3-13616
This commit is contained in:
Tristan Darricau
2016-03-23 11:26:30 +01:00
parent e8762ce3cb
commit 5cdbef860d
8 changed files with 316 additions and 28 deletions

View File

@@ -8,14 +8,16 @@ services:
- '@config'
- '@filesystem'
- '@path_helper'
- '@service_container'
- '%core.template.cache_path%'
- '@ext.manager'
- '@template.twig.loader'
- []
calls:
- [setLexer, ['@template.twig.lexer']]
template.twig.lexer:
class: phpbb\template\twig\lexer
lazy: true
arguments:
- '@template.twig.environment'