blob: 6214adfac6cb0a46fcbcfe8e9cd1528cbafaeef0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
parameters:
core.template.cache_path: %core.root_path%cache/%core.environment%/twig/
services:
template.twig.environment:
class: phpbb\template\twig\environment
arguments:
- @config
- @path_helper
- @service_container
- %core.template.cache_path%
- @ext.manager
- @template.twig.loader
- []
template.twig.lexer:
class: phpbb\template\twig\lexer
arguments:
- @template.twig.environment
template.twig.loader:
class: phpbb\template\twig\loader
arguments:
- @filesystem
template.twig.extensions.collection:
class: phpbb\di\service_collection
arguments:
- @service_container
tags:
- { name: service_collection, tag: twig.extension }
template.twig.extensions.phpbb:
class: phpbb\template\twig\extension
arguments:
- @template_context
- @language
tags:
- { name: twig.extension }
template.twig.extensions.routing:
class: Symfony\Bridge\Twig\Extension\RoutingExtension
arguments:
- @router
tags:
- { name: twig.extension }
template.twig.extensions.debug:
class: Twig_Extension_Debug
|