|
1 | 1 | type_lang: |
2 | | -# |
3 | | -# ---------------------------------------------------------------------------- |
4 | | -# Common Config |
5 | | -# ---------------------------------------------------------------------------- |
6 | | -# |
7 | | -object_as_array: ~ |
8 | | -strict_types: ~ |
| 2 | + # |
| 3 | + # ---------------------------------------------------------------------------- |
| 4 | + # Common Config |
| 5 | + # ---------------------------------------------------------------------------- |
| 6 | + # |
| 7 | + object_as_array: ~ |
| 8 | + strict_types: ~ |
9 | 9 |
|
10 | | -# |
11 | | -# ---------------------------------------------------------------------------- |
12 | | -# Types List |
13 | | -# ---------------------------------------------------------------------------- |
14 | | -# |
15 | | -# List of additional type builders. Each builder should |
16 | | -# be registered as service builder class: |
17 | | -# |
18 | | -types: |
19 | | -# - App\Mapper\Builder\ExampleTypeBuilder |
20 | | -# - ... |
| 10 | + # |
| 11 | + # ---------------------------------------------------------------------------- |
| 12 | + # Types List |
| 13 | + # ---------------------------------------------------------------------------- |
| 14 | + # |
| 15 | + # List of additional type builders. Each builder should |
| 16 | + # be registered as service builder class: |
| 17 | + # |
| 18 | + types: |
| 19 | + # - App\Mapper\Builder\ExampleTypeBuilder |
| 20 | + # - ... |
21 | 21 |
|
22 | | -# |
23 | | -# ---------------------------------------------------------------------------- |
24 | | -# Types Coercers |
25 | | -# ---------------------------------------------------------------------------- |
26 | | -# |
27 | | -# List of additional type coercers. Each key should be valid type |
28 | | -# class; each value should be registered as service coercer class: |
29 | | -# |
30 | | -coercions: |
31 | | -# App\Mapper\ExampleType: App\Mapper\Coercer\ExampleCoercer |
32 | | -# ...: ... |
| 22 | + # |
| 23 | + # ---------------------------------------------------------------------------- |
| 24 | + # Types Coercers |
| 25 | + # ---------------------------------------------------------------------------- |
| 26 | + # |
| 27 | + # List of additional type coercers. Each key should be valid type |
| 28 | + # class; each value should be registered as service coercer class: |
| 29 | + # |
| 30 | + coercions: |
| 31 | + # App\Mapper\ExampleType: App\Mapper\Coercer\ExampleCoercer |
| 32 | + # ...: ... |
33 | 33 |
|
34 | | -# |
35 | | -# ---------------------------------------------------------------------------- |
36 | | -# Metadata Configuration |
37 | | -# ---------------------------------------------------------------------------- |
38 | | -# |
39 | | -meta: |
40 | | -# Enable/disable attributes metadata, defaults to "true" |
41 | | -attributes: |
42 | | -enabled: ~ |
| 34 | + # |
| 35 | + # ---------------------------------------------------------------------------- |
| 36 | + # Metadata Configuration |
| 37 | + # ---------------------------------------------------------------------------- |
| 38 | + # |
| 39 | + meta: |
| 40 | + # Enable/disable attributes metadata, defaults to "true" |
| 41 | + attributes: |
| 42 | + enabled: ~ |
43 | 43 |
|
44 | | -# Enable/disable phpdoc metadata, by default depends on the availability |
45 | | -# of the "type-lang/phpdoc-standard-tags" package |
46 | | -phpdoc: |
47 | | -enabled: ~ |
48 | | -param_tag_name: "param" |
49 | | -var_tag_name: "var" |
50 | | -return_tag_name: "return" |
| 44 | + # Enable/disable phpdoc metadata, by default depends on the availability |
| 45 | + # of the "type-lang/phpdoc-standard-tags" package |
| 46 | + phpdoc: |
| 47 | + enabled: ~ |
| 48 | + param_tag_name: "param" |
| 49 | + var_tag_name: "var" |
| 50 | + return_tag_name: "return" |
51 | 51 |
|
52 | | -# Enable/disable yaml config metadata, defaults to "true" |
53 | | -yaml: |
54 | | -enabled: ~ |
55 | | -# List of configuration file directories |
56 | | -directories: |
57 | | -- '%kernel.project_dir%/config/mapper' |
58 | | -# List of file extensions |
59 | | -extensions: |
60 | | -- '.yml' |
61 | | -- '.yaml' |
| 52 | + # Enable/disable yaml config metadata, defaults to "true" |
| 53 | + yaml: |
| 54 | + enabled: ~ |
| 55 | + # List of configuration file directories |
| 56 | + directories: |
| 57 | + - '%kernel.project_dir%/config/mapper' |
| 58 | + # List of file extensions |
| 59 | + extensions: |
| 60 | + - '.yml' |
| 61 | + - '.yaml' |
62 | 62 |
|
63 | | -# |
64 | | -# ---------------------------------------------------------------------------- |
65 | | -# Logger Configuration |
66 | | -# ---------------------------------------------------------------------------- |
67 | | -# |
68 | | -logger: |
69 | | -# Defaults to "%kernel.debug%" |
70 | | -enabled: ~ |
71 | | -# service: Psr\Log\LoggerInterface |
72 | | -# log_type_extraction: false |
73 | | -# log_type_parse: false |
74 | | -# log_type_fetch: false |
75 | | -# log_type_cast: false |
76 | | -# log_type_match: true |
| 63 | + # |
| 64 | + # ---------------------------------------------------------------------------- |
| 65 | + # Logger Configuration |
| 66 | + # ---------------------------------------------------------------------------- |
| 67 | + # |
| 68 | + logger: |
| 69 | + # Defaults to "%kernel.debug%" |
| 70 | + enabled: ~ |
| 71 | + # service: Psr\Log\LoggerInterface |
| 72 | + # log_type_extraction: false |
| 73 | + # log_type_parse: false |
| 74 | + # log_type_fetch: false |
| 75 | + # log_type_cast: false |
| 76 | + # log_type_match: false |
77 | 77 |
|
78 | | -# |
79 | | -# ---------------------------------------------------------------------------- |
80 | | -# Tracing Configuration |
81 | | -# ---------------------------------------------------------------------------- |
82 | | -# |
83 | | -tracing: |
84 | | -# Defaults to "%kernel.debug%" |
85 | | -enabled: ~ |
86 | | -# service: TypeLang\Mapper\Kernel\Tracing\TracerInterface |
87 | | -# printer: TypeLang\Printer\PrinterInterface |
88 | | -# trace_type_extraction: false |
89 | | -# trace_type_parse: false |
90 | | -# trace_type_fetch: false |
91 | | -# trace_type_cast: true |
92 | | -# trace_type_match: false |
| 78 | + # |
| 79 | + # ---------------------------------------------------------------------------- |
| 80 | + # Tracing Configuration |
| 81 | + # ---------------------------------------------------------------------------- |
| 82 | + # |
| 83 | + tracing: |
| 84 | + # Defaults to "%kernel.debug%" |
| 85 | + enabled: ~ |
| 86 | + # service: TypeLang\Mapper\Kernel\Tracing\TracerInterface |
| 87 | + # printer: TypeLang\Printer\PrinterInterface |
| 88 | + # trace_type_extraction: false |
| 89 | + # trace_type_parse: false |
| 90 | + # trace_type_fetch: true |
| 91 | + # trace_type_cast: false |
| 92 | + # trace_type_match: false |
93 | 93 |
|
94 | | -# |
95 | | -# ---------------------------------------------------------------------------- |
96 | | -# Cache Configuration |
97 | | -# ---------------------------------------------------------------------------- |
98 | | -# |
99 | | -cache: |
100 | | -# Defaults to "!%kernel.debug%" |
101 | | -enabled: ~ |
102 | | -# Cache service name, defaults to "cache.app" |
103 | | -# service: cache.app |
104 | | -# |
105 | | -# One of "psr6"; "psr16", defaults to "psr6" |
106 | | -# driver: psr6 |
107 | | -# |
108 | | -# Optional cache prefix, defaults to "tlm_" |
109 | | -# prefix: "tlm_" |
110 | | -# |
111 | | -# Cache TTL |
112 | | -# ttl: 0 |
| 94 | + # |
| 95 | + # ---------------------------------------------------------------------------- |
| 96 | + # Cache Configuration |
| 97 | + # ---------------------------------------------------------------------------- |
| 98 | + # |
| 99 | + cache: |
| 100 | + # Defaults to "!%kernel.debug%" |
| 101 | + enabled: ~ |
| 102 | + # Cache service name, defaults to "cache.app" |
| 103 | + # service: cache.app |
| 104 | + # |
| 105 | + # One of "psr6"; "psr16", defaults to "psr6" |
| 106 | + # driver: psr6 |
| 107 | + # |
| 108 | + # Optional cache prefix, defaults to "tlm_" |
| 109 | + # prefix: "tlm_" |
| 110 | + # |
| 111 | + # Cache TTL |
| 112 | + # ttl: 0 |
113 | 113 |
|
114 | | -# |
115 | | -# ---------------------------------------------------------------------------- |
116 | | -# Second-Level Cache Configuration |
117 | | -# ---------------------------------------------------------------------------- |
118 | | -# |
119 | | -memoization: |
120 | | -# AST in-memory cache, defaults to "true" |
121 | | -# parser: |
122 | | -# enabled: ~ |
123 | | -# min_types: 30 |
124 | | -# max_types: 100 |
| 114 | + # |
| 115 | + # ---------------------------------------------------------------------------- |
| 116 | + # Second-Level Cache Configuration |
| 117 | + # ---------------------------------------------------------------------------- |
| 118 | + # |
| 119 | + memoization: |
| 120 | + # AST in-memory cache, defaults to "true" |
| 121 | + # parser: |
| 122 | + # enabled: ~ |
| 123 | + # min_types: 30 |
| 124 | + # max_types: 100 |
125 | 125 |
|
126 | | -# Types in-memory cache, defaults to "true" |
127 | | -# types: |
128 | | -# enabled: ~ |
| 126 | + # Types in-memory cache, defaults to "true" |
| 127 | + # types: |
| 128 | + # enabled: ~ |
129 | 129 |
|
130 | | -# Metadata in-memory cache, defaults to "true" |
131 | | -# meta: |
132 | | -# enabled: ~ |
| 130 | + # Metadata in-memory cache, defaults to "true" |
| 131 | + # meta: |
| 132 | + # enabled: ~ |
0 commit comments