1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

Merge pull request #4236 from Nicofuma/ticket/13616

[ticket/13616] Uses symfony/proxy-manager-bridge to lazy load twig lexer
This commit is contained in:
Máté Bartus
2016-04-13 10:11:24 +02:00
23 changed files with 354 additions and 50 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'

View File

@@ -81,11 +81,12 @@ services:
- '@config'
- '@filesystem'
- '@path_helper'
- '@service_container'
- '%core.template.cache_path%'
- null
- '@template.twig.loader'
- []
calls:
- [setLexer, ['@template.twig.lexer']]
console.exception_subscriber:
class: phpbb\console\exception_subscriber