3 // This file is auto-generated and is for apps only. Bundles SHOULD NOT rely on its content.
5 namespace Symfony\Component\DependencyInjection\Loader\Configurator
;
7 use Symfony\Component\Config\Loader\ParamConfigurator
as Param
;
10 * This class provides array-shapes for configuring the services and bundles of an application.
12 * Services declared with the config() method below are autowired and autoconfigured by default.
14 * This is for apps only. Bundles SHOULD NOT use it.
19 * // config/services.php
20 * namespace Symfony\Component\DependencyInjection\Loader\Configurator;
22 * return App::config([
25 * 'resource' => '../src/',
31 * @psalm-type ImportsConfig = list<string|array{
34 * ignore_errors?: bool|'not_found',
36 * @psalm-type ParametersConfig = array<string, scalar|\UnitEnum|array<scalar|\UnitEnum|array<mixed>|Param|null>|Param|null>
37 * @psalm-type ArgumentsType = list<mixed>|array<string, mixed>
38 * @psalm-type CallType = array<string, ArgumentsType>|array{0:string, 1?:ArgumentsType, 2?:bool}|array{method:string, arguments?:ArgumentsType, returns_clone?:bool}
39 * @psalm-type TagsType = list<string|array<string, array<string, mixed>>> // arrays inside the list must have only one element, with the tag name as the key
40 * @psalm-type CallbackType = string|array{0:string|ReferenceConfigurator,1:string}|\Closure|ReferenceConfigurator|ExpressionConfigurator
41 * @psalm-type DeprecationType = array{package: string, version: string, message?: string}
42 * @psalm-type DefaultsType = array{
45 * resource_tags?: TagsType,
47 * autoconfigure?: bool,
48 * bind?: array<string, mixed>,
50 * @psalm-type InstanceofType = array{
54 * properties?: array<string, mixed>,
55 * configurator?: CallbackType,
56 * calls?: list<CallType>,
58 * resource_tags?: TagsType,
60 * bind?: array<string, mixed>,
61 * constructor?: string,
63 * @psalm-type DefinitionType = array{
72 * deprecated?: DeprecationType,
73 * factory?: CallbackType,
74 * configurator?: CallbackType,
75 * arguments?: ArgumentsType,
76 * properties?: array<string, mixed>,
77 * calls?: list<CallType>,
79 * resource_tags?: TagsType,
81 * decorates_tag?: string,
82 * decoration_inner_name?: string,
83 * decoration_priority?: int,
84 * decoration_on_invalid?: 'exception'|'ignore'|null,
86 * autoconfigure?: bool,
87 * bind?: array<string, mixed>,
88 * constructor?: string,
89 * from_callable?: CallbackType,
91 * @psalm-type AliasType = string|array{
94 * deprecated?: DeprecationType,
96 * @psalm-type PrototypeType = array{
99 * exclude?: string|list<string>,
102 * lazy?: bool|string,
105 * deprecated?: DeprecationType,
106 * factory?: CallbackType,
107 * arguments?: ArgumentsType,
108 * properties?: array<string, mixed>,
109 * configurator?: CallbackType,
110 * calls?: list<CallType>,
112 * resource_tags?: TagsType,
114 * autoconfigure?: bool,
115 * bind?: array<string, mixed>,
116 * constructor?: string,
118 * @psalm-type StackType = array{
119 * stack: list<DefinitionType|AliasType|PrototypeType|array<class-string, ArgumentsType|null>>,
121 * deprecated?: DeprecationType,
122 * decorates?: string,
123 * decorates_tag?: string,
124 * decoration_inner_name?: string,
125 * decoration_priority?: int,
126 * decoration_on_invalid?: 'exception'|'ignore'|null,
128 * @psalm-type ServicesConfig = array{
129 * _defaults?: DefaultsType,
130 * _instanceof?: array<class-string, InstanceofType>,
131 * ...<string, DefinitionType|AliasType|PrototypeType|StackType|ArgumentsType|null>
133 * @psalm-type ExtensionType = array<string, mixed>
134 * @psalm-type FrameworkConfig = array{
135 * secret?: scalar|Param|null,
136 * http_method_override?: bool|Param, // Set true to enable support for the '_method' request parameter to determine the intended HTTP method on POST requests. // Default: false
137 * allowed_http_method_override?: null|list<string|Param>,
138 * trust_x_sendfile_type_header?: scalar|Param|null, // Set true to enable support for xsendfile in binary file responses. // Default: "%env(bool:default::SYMFONY_TRUST_X_SENDFILE_TYPE_HEADER)%"
139 * ide?: scalar|Param|null, // Default: "%env(default::SYMFONY_IDE)%"
141 * default_locale?: scalar|Param|null, // Default: "en"
142 * set_locale_from_accept_language?: bool|Param, // Whether to use the Accept-Language HTTP header to set the Request locale (only when the "_locale" request attribute is not passed). // Default: false
143 * set_content_language_from_locale?: bool|Param, // Whether to set the Content-Language HTTP header on the Response using the Request locale. // Default: false
144 * enabled_locales?: list<scalar|Param|null>,
145 * trusted_hosts?: Param|string|list<scalar|Param|null>,
146 * trusted_proxies?: mixed, // Default: ["%env(default::SYMFONY_TRUSTED_PROXIES)%"]
147 * trusted_headers?: Param|string|list<scalar|Param|null>,
148 * error_controller?: scalar|Param|null, // Default: "error_controller"
149 * handle_all_throwables?: bool|Param, // HttpKernel will handle all kinds of \Throwable. // Default: true
150 * csrf_protection?: bool|array{
151 * enabled?: scalar|Param|null, // Default: null
152 * stateless_token_ids?: list<scalar|Param|null>,
153 * check_header?: scalar|Param|null, // Whether to check the CSRF token in a header in addition to a cookie when using stateless protection. // Default: false
154 * cookie_name?: scalar|Param|null, // The name of the cookie to use when using stateless protection. // Default: "csrf-token"
156 * form?: bool|array{ // Form configuration
157 * enabled?: bool|Param, // Default: true
158 * csrf_protection?: bool|array{
159 * enabled?: scalar|Param|null, // Default: null
160 * token_id?: scalar|Param|null, // Default: null
161 * field_name?: scalar|Param|null, // Default: "_token"
162 * field_attr?: array<string, scalar|Param|null>,
165 * http_cache?: bool|array{ // HTTP cache configuration
166 * enabled?: bool|Param, // Default: false
167 * debug?: bool|Param, // Default: "%kernel.debug%"
168 * trace_level?: "none"|"short"|"full"|Param,
169 * trace_header?: scalar|Param|null,
170 * default_ttl?: int|Param,
171 * private_headers?: list<scalar|Param|null>,
172 * skip_response_headers?: list<scalar|Param|null>,
173 * allow_reload?: bool|Param,
174 * allow_revalidate?: bool|Param,
175 * stale_while_revalidate?: int|Param,
176 * stale_if_error?: int|Param,
177 * terminate_on_cache_hit?: bool|Param, // Deprecated: Setting the "framework.http_cache.terminate_on_cache_hit.terminate_on_cache_hit" configuration option is deprecated. It will be removed in version 9.0.
179 * esi?: bool|array{ // ESI configuration
180 * enabled?: bool|Param, // Default: false
182 * ssi?: bool|array{ // SSI configuration
183 * enabled?: bool|Param, // Default: false
185 * fragments?: bool|array{ // Fragments configuration
186 * enabled?: bool|Param, // Default: false
187 * hinclude_default_template?: scalar|Param|null, // Default: null
188 * path?: scalar|Param|null, // Default: "/_fragment"
190 * profiler?: bool|array{ // Profiler configuration
191 * enabled?: bool|Param, // Default: false
192 * collect?: bool|Param, // Default: true
193 * collect_parameter?: scalar|Param|null, // The name of the parameter to use to enable or disable collection on a per request basis. // Default: null
194 * only_exceptions?: bool|Param, // Default: false
195 * only_main_requests?: bool|Param, // Default: false
196 * dsn?: scalar|Param|null, // Default: "file:%kernel.cache_dir%/profiler"
197 * collect_serializer_data?: true|Param, // Deprecated: Setting the "framework.profiler.collect_serializer_data.collect_serializer_data" configuration option is deprecated. It will be removed in version 9.0. // Default: true
199 * workflows?: bool|array{
200 * enabled?: bool|Param, // Default: false
201 * workflows?: array<string, array{ // Default: []
202 * audit_trail?: bool|array{
203 * enabled?: bool|Param, // Default: false
205 * type?: "workflow"|"state_machine"|Param, // Default: "state_machine"
206 * marking_store?: array{
207 * type?: "method"|Param,
208 * property?: scalar|Param|null,
209 * service?: scalar|Param|null,
211 * supports?: Param|string|list<scalar|Param|null>,
212 * definition_validators?: list<scalar|Param|null>,
213 * support_strategy?: scalar|Param|null,
214 * initial_marking?: \BackedEnum|Param|string|list<scalar|Param|null>,
215 * events_to_dispatch?: null|list<string|Param>,
216 * places?: Param|string|list<array{ // Default: []
217 * name?: scalar|Param|null,
218 * metadata?: array<string, mixed>,
220 * transitions?: list<array{ // Default: []
221 * name?: string|Param,
222 * guard?: string|Param, // An expression to block the transition.
223 * from?: \BackedEnum|Param|string|list<array{ // Default: []
224 * place?: string|Param,
225 * weight?: int|Param, // Default: 1
227 * to?: \BackedEnum|Param|string|list<array{ // Default: []
228 * place?: string|Param,
229 * weight?: int|Param, // Default: 1
231 * weight?: int|Param, // Default: 1
232 * metadata?: array<string, mixed>,
234 * metadata?: array<string, mixed>,
237 * router?: bool|array{ // Router configuration
238 * enabled?: bool|Param, // Default: false
239 * resource?: scalar|Param|null,
240 * type?: scalar|Param|null,
241 * default_uri?: scalar|Param|null, // The default URI used to generate URLs in a non-HTTP context. // Default: null
242 * http_port?: scalar|Param|null, // Default: 80
243 * https_port?: scalar|Param|null, // Default: 443
244 * strict_requirements?: scalar|Param|null, // set to true to throw an exception when a parameter does not match the requirements set to false to disable exceptions when a parameter does not match the requirements (and return null instead) set to null to disable parameter checks against requirements 'true' is the preferred configuration in development mode, while 'false' or 'null' might be preferred in production // Default: true
245 * utf8?: bool|Param, // Default: true
247 * session?: bool|array{ // Session configuration
248 * enabled?: bool|Param, // Default: false
249 * storage_factory_id?: scalar|Param|null, // Default: "session.storage.factory.native"
250 * handler_id?: scalar|Param|null, // Defaults to using the native session handler, or to the native *file* session handler if "save_path" is not null.
251 * name?: scalar|Param|null,
252 * cookie_lifetime?: scalar|Param|null,
253 * cookie_path?: scalar|Param|null,
254 * cookie_domain?: scalar|Param|null,
255 * cookie_secure?: true|false|"auto"|Param, // Default: "auto"
256 * cookie_httponly?: bool|Param, // Default: true
257 * cookie_samesite?: null|"lax"|"strict"|"none"|Param, // Default: "lax"
258 * use_cookies?: bool|Param,
259 * gc_divisor?: scalar|Param|null,
260 * gc_probability?: scalar|Param|null,
261 * gc_maxlifetime?: scalar|Param|null,
262 * save_path?: scalar|Param|null, // Defaults to "%kernel.share_dir%/sessions" if the "handler_id" option is not null.
263 * metadata_update_threshold?: int|Param, // Seconds to wait between 2 session metadata updates. // Default: 0
265 * request?: bool|array{ // Request configuration
266 * enabled?: bool|Param, // Default: false
267 * formats?: array<string, Param|string|list<scalar|Param|null>>,
269 * assets?: bool|array{ // Assets configuration
270 * enabled?: bool|Param, // Default: true
271 * strict_mode?: bool|Param, // Throw an exception if an entry is missing from the manifest.json. // Default: false
272 * version_strategy?: scalar|Param|null, // Default: null
273 * version?: scalar|Param|null, // Default: null
274 * version_format?: scalar|Param|null, // Default: "%%s?%%s"
275 * json_manifest_path?: scalar|Param|null, // Default: null
276 * base_path?: scalar|Param|null, // Default: ""
277 * base_urls?: Param|string|list<scalar|Param|null>,
278 * packages?: array<string, array{ // Default: []
279 * strict_mode?: bool|Param, // Throw an exception if an entry is missing from the manifest.json. // Default: false
280 * version_strategy?: scalar|Param|null, // Default: null
281 * version?: scalar|Param|null,
282 * version_format?: scalar|Param|null, // Default: null
283 * json_manifest_path?: scalar|Param|null, // Default: null
284 * base_path?: scalar|Param|null, // Default: ""
285 * base_urls?: Param|string|list<scalar|Param|null>,
288 * asset_mapper?: bool|array{ // Asset Mapper configuration
289 * enabled?: bool|Param, // Default: false
290 * paths?: Param|string|array<string, scalar|Param|null>,
291 * excluded_patterns?: list<scalar|Param|null>,
292 * exclude_dotfiles?: bool|Param, // If true, any files starting with "." will be excluded from the asset mapper. // Default: true
293 * server?: bool|Param, // If true, a "dev server" will return the assets from the public directory (true in "debug" mode only by default). // Default: true
294 * public_prefix?: scalar|Param|null, // The public path where the assets will be written to (and served from when "server" is true). // Default: "/assets/"
295 * missing_import_mode?: "strict"|"warn"|"ignore"|Param, // Behavior if an asset cannot be found when imported from JavaScript or CSS files - e.g. "import './non-existent.js'". "strict" means an exception is thrown, "warn" means a warning is logged, "ignore" means the import is left as-is. // Default: "warn"
296 * extensions?: array<string, scalar|Param|null>,
297 * importmap_path?: scalar|Param|null, // The path of the importmap.php file. // Default: "%kernel.project_dir%/importmap.php"
298 * importmap_polyfill?: scalar|Param|null, // The importmap name that will be used to load the polyfill. Set to false to disable. // Default: "es-module-shims"
299 * importmap_script_attributes?: array<string, scalar|Param|null>,
300 * vendor_dir?: scalar|Param|null, // The directory to store JavaScript vendors. // Default: "%kernel.project_dir%/assets/vendor"
301 * precompress?: bool|array{ // Precompress assets with Brotli, Zstandard and gzip.
302 * enabled?: bool|Param, // Default: false
303 * formats?: list<scalar|Param|null>,
304 * extensions?: list<scalar|Param|null>,
307 * translator?: bool|array{ // Translator configuration
308 * enabled?: bool|Param, // Default: true
309 * fallbacks?: Param|string|list<scalar|Param|null>,
310 * logging?: bool|Param, // Default: false
311 * formatter?: scalar|Param|null, // Default: "translator.formatter.default"
312 * cache_dir?: scalar|Param|null, // Default: "%kernel.cache_dir%/translations"
313 * default_path?: scalar|Param|null, // The default path used to load translations. // Default: "%kernel.project_dir%/translations"
314 * paths?: list<scalar|Param|null>,
315 * pseudo_localization?: bool|array{
316 * enabled?: bool|Param, // Default: false
317 * accents?: bool|Param, // Default: true
318 * expansion_factor?: float|Param, // Default: 1.0
319 * brackets?: bool|Param, // Default: true
320 * parse_html?: bool|Param, // Default: false
321 * localizable_html_attributes?: list<scalar|Param|null>,
323 * providers?: array<string, array{ // Default: []
324 * dsn?: scalar|Param|null,
325 * domains?: list<scalar|Param|null>,
326 * locales?: list<scalar|Param|null>,
328 * globals?: array<string, Param|string|array{ // Default: []
330 * message?: string|Param,
331 * parameters?: array<string, scalar|Param|null>,
332 * domain?: string|Param,
335 * validation?: bool|array{ // Validation configuration
336 * enabled?: bool|Param, // Default: true
337 * enable_attributes?: bool|Param, // Default: true
338 * static_method?: Param|string|list<scalar|Param|null>,
339 * translation_domain?: scalar|Param|null, // Default: "validators"
340 * email_validation_mode?: "html5"|"html5-allow-no-tld"|"strict"|Param, // Default: "html5"
342 * paths?: list<scalar|Param|null>,
344 * not_compromised_password?: bool|array{
345 * enabled?: bool|Param, // When disabled, compromised passwords will be accepted as valid. // Default: true
346 * endpoint?: scalar|Param|null, // API endpoint for the NotCompromisedPassword Validator. // Default: null
348 * disable_translation?: bool|Param, // Default: false
349 * property_metadata_existence_check?: bool|Param, // When enabled, validateProperty() and validatePropertyValue() throw an exception if no metadata is found for the given property. // Default: false
350 * auto_mapping?: array<string, array{ // Default: []
351 * services?: list<scalar|Param|null>,
354 * serializer?: bool|array{ // Serializer configuration
355 * enabled?: bool|Param, // Default: true
356 * enable_attributes?: bool|Param, // Default: true
357 * name_converter?: scalar|Param|null,
358 * circular_reference_handler?: scalar|Param|null,
359 * max_depth_handler?: scalar|Param|null,
361 * paths?: list<scalar|Param|null>,
363 * default_context?: array<string, mixed>,
364 * named_serializers?: array<string, array{ // Default: []
365 * name_converter?: scalar|Param|null,
366 * default_context?: array<string, mixed>,
367 * include_built_in_normalizers?: bool|Param, // Whether to include the built-in normalizers // Default: true
368 * include_built_in_encoders?: bool|Param, // Whether to include the built-in encoders // Default: true
371 * property_access?: bool|array{ // Property access configuration
372 * enabled?: bool|Param, // Default: true
373 * magic_call?: bool|Param, // Default: false
374 * magic_get?: bool|Param, // Default: true
375 * magic_set?: bool|Param, // Default: true
376 * throw_exception_on_invalid_index?: bool|Param, // Default: false
377 * throw_exception_on_invalid_property_path?: bool|Param, // Default: true
379 * type_info?: bool|array{ // Type info configuration
380 * enabled?: bool|Param, // Default: true
381 * aliases?: array<string, scalar|Param|null>,
383 * property_info?: bool|array{ // Property info configuration
384 * enabled?: bool|Param, // Default: true
385 * with_constructor_extractor?: bool|Param, // Registers the constructor extractor. // Default: true
387 * cache?: array{ // Cache configuration
388 * prefix_seed?: scalar|Param|null, // Used to namespace cache keys when using several apps with the same shared backend. // Default: "_%kernel.project_dir%.%kernel.container_class%"
389 * app?: scalar|Param|null, // App related cache pools configuration. // Default: "cache.adapter.filesystem"
390 * system?: scalar|Param|null, // System related cache pools configuration. // Default: "cache.adapter.system"
391 * directory?: scalar|Param|null, // Default: "%kernel.share_dir%/pools/app"
392 * default_psr6_provider?: scalar|Param|null,
393 * default_redis_provider?: scalar|Param|null, // Default: "redis://localhost"
394 * default_valkey_provider?: scalar|Param|null, // Default: "valkey://localhost"
395 * default_memcached_provider?: scalar|Param|null, // Default: "memcached://localhost"
396 * default_doctrine_dbal_provider?: scalar|Param|null, // Default: "database_connection"
397 * default_pdo_provider?: scalar|Param|null, // Default: null
398 * pools?: array<string, array{ // Default: []
399 * adapters?: Param|string|list<scalar|Param|null>,
400 * tags?: scalar|Param|null, // Default: null
401 * public?: bool|Param, // Default: false
402 * default_lifetime?: scalar|Param|null, // Default lifetime of the pool.
403 * provider?: scalar|Param|null, // Overwrite the setting from the default provider for this adapter.
404 * early_expiration_message_bus?: scalar|Param|null,
405 * clearer?: scalar|Param|null,
406 * marshaller?: scalar|Param|null, // The marshaller service to use for this pool.
409 * php_errors?: array{ // PHP errors handling configuration
410 * log?: mixed, // Use the application logger instead of the PHP logger for logging PHP errors. // Default: true
411 * throw?: bool|Param, // Throw PHP errors as \ErrorException instances. // Default: true
413 * exceptions?: array<string, array{ // Default: []
414 * log_level?: scalar|Param|null, // The level of log message. Null to let Symfony decide. // Default: null
415 * status_code?: scalar|Param|null, // The status code of the response. Null or 0 to let Symfony decide. // Default: null
416 * log_channel?: scalar|Param|null, // The channel of log message. Null to let Symfony decide. // Default: null
418 * web_link?: bool|array{ // Web links configuration
419 * enabled?: bool|Param, // Default: true
421 * lock?: Param|bool|string|array{ // Lock configuration
422 * enabled?: bool|Param, // Default: false
423 * resources?: Param|string|array<string, Param|string|list<scalar|Param|null>>,
425 * semaphore?: Param|bool|string|array{ // Semaphore configuration
426 * enabled?: bool|Param, // Default: false
427 * resources?: Param|string|array<string, scalar|Param|null>,
429 * messenger?: bool|array{ // Messenger configuration
430 * enabled?: bool|Param, // Default: true
431 * routing?: array<string, Param|string|list<scalar|Param|null>>,
432 * serializer?: array{
433 * default_serializer?: scalar|Param|null, // Service id to use as the default serializer for the transports. // Default: "messenger.transport.native_php_serializer"
434 * symfony_serializer?: array{
435 * format?: scalar|Param|null, // Serialization format for the messenger.transport.symfony_serializer service (which is not the serializer used by default). // Default: "json"
436 * context?: array<string, mixed>,
439 * transports?: array<string, Param|string|array{ // Default: []
440 * dsn?: scalar|Param|null,
441 * serializer?: scalar|Param|null, // Service id of a custom serializer to use. // Default: null
442 * options?: array<string, mixed>,
443 * failure_transport?: scalar|Param|null, // Transport name to send failed messages to (after all retries have failed). // Default: null
444 * retry_strategy?: Param|string|array{
445 * service?: scalar|Param|null, // Service id to override the retry strategy entirely. // Default: null
446 * max_retries?: int|Param, // Default: 3
447 * delay?: int|Param, // Time in ms to delay (or the initial value when multiplier is used). // Default: 1000
448 * multiplier?: float|Param, // If greater than 1, delay will grow exponentially for each retry: this delay = (delay * (multiple ^ retries)). // Default: 2
449 * max_delay?: int|Param, // Max time in ms that a retry should ever be delayed (0 = infinite). // Default: 0
450 * jitter?: float|Param, // Randomness to apply to the delay (between 0 and 1). // Default: 0.1
452 * rate_limiter?: scalar|Param|null, // Rate limiter name to use when processing messages. // Default: null
454 * failure_transport?: scalar|Param|null, // Transport name to send failed messages to (after all retries have failed). // Default: null
455 * stop_worker_on_signals?: Param|int|string|list<scalar|Param|null>,
456 * default_bus?: scalar|Param|null, // Default: null
457 * buses?: array<string, array{ // Default: {"messenger.bus.default":{"default_middleware":{"enabled":true,"allow_no_handlers":false,"allow_no_senders":true},"middleware":[]}}
458 * default_middleware?: Param|bool|string|array{
459 * enabled?: bool|Param, // Default: true
460 * allow_no_handlers?: bool|Param, // Default: false
461 * allow_no_senders?: bool|Param, // Default: true
463 * middleware?: Param|string|list<Param|string|array{ // Default: []
464 * id?: scalar|Param|null,
465 * arguments?: list<mixed>,
469 * scheduler?: bool|array{ // Scheduler configuration
470 * enabled?: bool|Param, // Default: false
472 * disallow_search_engine_index?: bool|Param, // Enabled by default when debug is enabled. // Default: true
473 * http_client?: bool|array{ // HTTP Client configuration
474 * enabled?: bool|Param, // Default: true
475 * max_host_connections?: int|Param, // The maximum number of connections to a single host.
476 * default_options?: array{
477 * headers?: array<string, mixed>,
478 * vars?: array<string, mixed>,
479 * max_redirects?: int|Param, // The maximum number of redirects to follow.
480 * http_version?: scalar|Param|null, // The default HTTP version, typically 1.1 or 2.0, leave to null for the best version.
481 * resolve?: array<string, scalar|Param|null>,
482 * proxy?: scalar|Param|null, // The URL of the proxy to pass requests through or null for automatic detection.
483 * no_proxy?: scalar|Param|null, // A comma separated list of hosts that do not require a proxy to be reached.
484 * timeout?: float|Param, // The idle timeout, defaults to the "default_socket_timeout" ini parameter.
485 * max_duration?: float|Param, // The maximum execution time for the request+response as a whole.
486 * bindto?: scalar|Param|null, // A network interface name, IP address, a host name or a UNIX socket to bind to.
487 * verify_peer?: bool|Param, // Indicates if the peer should be verified in a TLS context.
488 * verify_host?: bool|Param, // Indicates if the host should exist as a certificate common name.
489 * cafile?: scalar|Param|null, // A certificate authority file.
490 * capath?: scalar|Param|null, // A directory that contains multiple certificate authority files.
491 * local_cert?: scalar|Param|null, // A PEM formatted certificate file.
492 * local_pk?: scalar|Param|null, // A private key file.
493 * passphrase?: scalar|Param|null, // The passphrase used to encrypt the "local_pk" file.
494 * ciphers?: scalar|Param|null, // A list of TLS ciphers separated by colons, commas or spaces (e.g. "RC3-SHA:TLS13-AES-128-GCM-SHA256"...)
495 * peer_fingerprint?: array{ // Associative array: hashing algorithm => hash(es).
497 * pin-sha256?: mixed,
500 * crypto_method?: scalar|Param|null, // The minimum version of TLS to accept; must be one of STREAM_CRYPTO_METHOD_TLSv*_CLIENT constants.
501 * extra?: array<string, mixed>,
502 * rate_limiter?: scalar|Param|null, // Rate limiter name to use for throttling requests. // Default: null
503 * caching?: bool|array{ // Caching configuration.
504 * enabled?: bool|Param, // Default: false
505 * cache_pool?: string|Param, // The taggable cache pool to use for storing the responses. // Default: "cache.http_client"
506 * shared?: bool|Param, // Indicates whether the cache is shared (public) or private. // Default: true
507 * max_ttl?: int|Param, // The maximum TTL (in seconds) allowed for cached responses. // Default: 86400
509 * retry_failed?: bool|array{
510 * enabled?: bool|Param, // Default: false
511 * retry_strategy?: scalar|Param|null, // service id to override the retry strategy. // Default: null
512 * http_codes?: Param|int|string|array<string, array{ // Default: []
514 * methods?: Param|string|list<string|Param>,
516 * max_retries?: int|Param, // Default: 3
517 * delay?: int|Param, // Time in ms to delay (or the initial value when multiplier is used). // Default: 1000
518 * multiplier?: float|Param, // If greater than 1, delay will grow exponentially for each retry: delay * (multiple ^ retries). // Default: 2
519 * max_delay?: int|Param, // Max time in ms that a retry should ever be delayed (0 = infinite). // Default: 0
520 * jitter?: float|Param, // Randomness in percent (between 0 and 1) to apply to the delay. // Default: 0.1
523 * mock_response_factory?: scalar|Param|null, // `true` to always return empty 200 responses, or the id of the service to use to generate mock responses - which should be either an invokable or an iterable.
524 * scoped_clients?: array<string, Param|string|array{ // Default: []
525 * scope?: scalar|Param|null, // The regular expression that the request URL must match before adding the other options. When none is provided, the base URI is used instead. The regular expression should end with a "/", for example "https://api\.github\.com/", so that it doesn't match other hosts.
526 * base_uri?: scalar|Param|null, // The URI to resolve relative URLs, following rules in RFC 3985, section 2.
527 * auth_basic?: scalar|Param|null, // An HTTP Basic authentication "username:password".
528 * auth_bearer?: scalar|Param|null, // A token enabling HTTP Bearer authorization.
529 * auth_ntlm?: scalar|Param|null, // A "username:password" pair to use Microsoft NTLM authentication (requires the cURL extension).
530 * query?: array<string, scalar|Param|null>,
531 * headers?: array<string, mixed>,
532 * max_redirects?: int|Param, // The maximum number of redirects to follow.
533 * http_version?: scalar|Param|null, // The default HTTP version, typically 1.1 or 2.0, leave to null for the best version.
534 * resolve?: array<string, scalar|Param|null>,
535 * proxy?: scalar|Param|null, // The URL of the proxy to pass requests through or null for automatic detection.
536 * no_proxy?: scalar|Param|null, // A comma separated list of hosts that do not require a proxy to be reached.
537 * timeout?: float|Param, // The idle timeout, defaults to the "default_socket_timeout" ini parameter.
538 * max_duration?: float|Param, // The maximum execution time for the request+response as a whole.
539 * bindto?: scalar|Param|null, // A network interface name, IP address, a host name or a UNIX socket to bind to.
540 * verify_peer?: bool|Param, // Indicates if the peer should be verified in a TLS context.
541 * verify_host?: bool|Param, // Indicates if the host should exist as a certificate common name.
542 * cafile?: scalar|Param|null, // A certificate authority file.
543 * capath?: scalar|Param|null, // A directory that contains multiple certificate authority files.
544 * local_cert?: scalar|Param|null, // A PEM formatted certificate file.
545 * local_pk?: scalar|Param|null, // A private key file.
546 * passphrase?: scalar|Param|null, // The passphrase used to encrypt the "local_pk" file.
547 * ciphers?: scalar|Param|null, // A list of TLS ciphers separated by colons, commas or spaces (e.g. "RC3-SHA:TLS13-AES-128-GCM-SHA256"...).
548 * peer_fingerprint?: array{ // Associative array: hashing algorithm => hash(es).
550 * pin-sha256?: mixed,
553 * crypto_method?: scalar|Param|null, // The minimum version of TLS to accept; must be one of STREAM_CRYPTO_METHOD_TLSv*_CLIENT constants.
554 * mock_response_factory?: scalar|Param|null, // `true` to always return empty 200 responses, `false` to disable mocking, or the id of the service to use to generate mock responses (invokable or iterable).
555 * extra?: array<string, mixed>,
556 * rate_limiter?: scalar|Param|null, // Rate limiter name to use for throttling requests. // Default: null
557 * caching?: bool|array{ // Caching configuration.
558 * enabled?: bool|Param, // Default: false
559 * cache_pool?: string|Param, // The taggable cache pool to use for storing the responses. // Default: "cache.http_client"
560 * shared?: bool|Param, // Indicates whether the cache is shared (public) or private. // Default: true
561 * max_ttl?: int|Param, // The maximum TTL (in seconds) allowed for cached responses. // Default: 86400
563 * retry_failed?: bool|array{
564 * enabled?: bool|Param, // Default: false
565 * retry_strategy?: scalar|Param|null, // service id to override the retry strategy. // Default: null
566 * http_codes?: Param|int|string|array<string, array{ // Default: []
568 * methods?: Param|string|list<string|Param>,
570 * max_retries?: int|Param, // Default: 3
571 * delay?: int|Param, // Time in ms to delay (or the initial value when multiplier is used). // Default: 1000
572 * multiplier?: float|Param, // If greater than 1, delay will grow exponentially for each retry: delay * (multiple ^ retries). // Default: 2
573 * max_delay?: int|Param, // Max time in ms that a retry should ever be delayed (0 = infinite). // Default: 0
574 * jitter?: float|Param, // Randomness in percent (between 0 and 1) to apply to the delay. // Default: 0.1
578 * mailer?: bool|array{ // Mailer configuration
579 * enabled?: bool|Param, // Default: true
580 * message_bus?: scalar|Param|null, // The message bus to use. Defaults to the default bus if the Messenger component is installed. // Default: null
581 * dsn?: scalar|Param|null, // Default: null
582 * transports?: array<string, scalar|Param|null>,
583 * envelope?: array{ // Mailer Envelope configuration
584 * sender?: scalar|Param|null,
585 * recipients?: Param|string|list<scalar|Param|null>,
586 * allowed_recipients?: Param|string|list<scalar|Param|null>,
588 * headers?: array<string, Param|string|array{ // Default: []
591 * dkim_signer?: bool|array{ // DKIM signer configuration
592 * enabled?: bool|Param, // Default: false
593 * key?: scalar|Param|null, // Key content, or path to key (in PEM format with the `file://` prefix) // Default: ""
594 * domain?: scalar|Param|null, // Default: ""
595 * select?: scalar|Param|null, // Default: ""
596 * passphrase?: scalar|Param|null, // The private key passphrase // Default: ""
597 * options?: array<string, mixed>,
599 * smime_signer?: bool|array{ // S/MIME signer configuration
600 * enabled?: bool|Param, // Default: false
601 * key?: scalar|Param|null, // Path to key (in PEM format) // Default: ""
602 * certificate?: scalar|Param|null, // Path to certificate (in PEM format without the `file://` prefix) // Default: ""
603 * passphrase?: scalar|Param|null, // The private key passphrase // Default: null
604 * extra_certificates?: scalar|Param|null, // Default: null
605 * sign_options?: int|Param, // Default: null
607 * smime_encrypter?: bool|array{ // S/MIME encrypter configuration
608 * enabled?: bool|Param, // Default: false
609 * repository?: scalar|Param|null, // S/MIME certificate repository service. This service shall implement the `Symfony\Component\Mailer\EventListener\SmimeCertificateRepositoryInterface`. // Default: ""
610 * cipher?: int|Param, // A set of algorithms used to encrypt the message // Default: null
613 * secrets?: bool|array{
614 * enabled?: bool|Param, // Default: true
615 * vault_directory?: scalar|Param|null, // Default: "%kernel.project_dir%/config/secrets/%kernel.runtime_environment%"
616 * local_dotenv_file?: scalar|Param|null, // Default: "%kernel.project_dir%/.env.%kernel.environment%.local"
617 * decryption_env_var?: scalar|Param|null, // Default: "base64:default::SYMFONY_DECRYPTION_SECRET"
619 * notifier?: bool|array{ // Notifier configuration
620 * enabled?: bool|Param, // Default: true
621 * message_bus?: scalar|Param|null, // The message bus to use. Defaults to the default bus if the Messenger component is installed. // Default: null
622 * chatter_transports?: array<string, scalar|Param|null>,
623 * texter_transports?: array<string, scalar|Param|null>,
624 * notification_on_failed_messages?: bool|Param, // Default: false
625 * channel_policy?: array<string, Param|string|list<scalar|Param|null>>,
626 * admin_recipients?: list<array{ // Default: []
627 * email?: scalar|Param|null,
628 * phone?: scalar|Param|null, // Default: ""
631 * rate_limiter?: bool|array{ // Rate limiter configuration
632 * enabled?: bool|Param, // Default: false
633 * limiters?: array<string, array{ // Default: []
634 * lock_factory?: scalar|Param|null, // The service ID of the lock factory used by this limiter (or null to disable locking). // Default: "auto"
635 * cache_pool?: scalar|Param|null, // The cache pool to use for storing the current limiter state. // Default: "cache.rate_limiter"
636 * storage_service?: scalar|Param|null, // The service ID of a custom storage implementation, this precedes any configured "cache_pool". // Default: null
637 * policy?: "fixed_window"|"token_bucket"|"sliding_window"|"compound"|"no_limit"|Param, // The algorithm to be used by this limiter.
638 * limiters?: Param|string|list<scalar|Param|null>,
639 * limit?: int|Param, // The maximum allowed hits in a fixed interval or burst.
640 * interval?: scalar|Param|null, // Configures the fixed interval if "policy" is set to "fixed_window" or "sliding_window". The value must be a number followed by "second", "minute", "hour", "day", "week" or "month" (or their plural equivalent).
641 * rate?: array{ // Configures the fill rate if "policy" is set to "token_bucket".
642 * interval?: scalar|Param|null, // Configures the rate interval. The value must be a number followed by "second", "minute", "hour", "day", "week" or "month" (or their plural equivalent).
643 * amount?: int|Param, // Amount of tokens to add each interval. // Default: 1
645 * anchor_at?: scalar|Param|null, // Aligns the "fixed_window" policy to a calendar (e.g. "2024-01-05 00:00:00 UTC" combined with `interval: 1 month` resets the counter on the 5th of each month). UTC if not specified. // Default: null
648 * uid?: bool|array{ // Uid configuration
649 * enabled?: bool|Param, // Default: false
650 * default_uuid_version?: 7|6|4|1|Param, // Default: 7
651 * name_based_uuid_version?: 5|3|Param, // Default: 5
652 * name_based_uuid_namespace?: scalar|Param|null,
653 * time_based_uuid_version?: 7|6|1|Param, // Default: 7
654 * time_based_uuid_node?: scalar|Param|null,
655 * uuid47_secret?: scalar|Param|null, // A high-entropy secret used by the "uuid47_transformer" service. Defaults to "kernel.secret". // Default: null
657 * html_sanitizer?: bool|array{ // HtmlSanitizer configuration
658 * enabled?: bool|Param, // Default: false
659 * sanitizers?: array<string, array{ // Default: []
660 * default_action?: "drop"|"block"|"allow"|Param, // Defines how the sanitizer must behave by default.
661 * allow_safe_elements?: bool|Param, // Allows "safe" elements and attributes. // Default: false
662 * allow_static_elements?: bool|Param, // Allows all static elements and attributes from the W3C Sanitizer API standard. // Default: false
663 * allow_elements?: array<string, mixed>,
664 * block_elements?: Param|string|list<string|Param>,
665 * drop_elements?: Param|string|list<string|Param>,
666 * allow_attributes?: array<string, mixed>,
667 * drop_attributes?: array<string, mixed>,
668 * force_attributes?: array<string, array<string, string|Param>>,
669 * force_https_urls?: bool|Param, // Transforms URLs using the HTTP scheme to use the HTTPS scheme instead. // Default: false
670 * allowed_link_schemes?: Param|string|list<string|Param>,
671 * allowed_link_hosts?: Param|null|string|list<string|Param>,
672 * allow_relative_links?: bool|Param, // Allows relative URLs to be used in links href attributes. // Default: false
673 * allowed_media_schemes?: Param|string|list<string|Param>,
674 * allowed_media_hosts?: Param|null|string|list<string|Param>,
675 * allow_relative_medias?: bool|Param, // Allows relative URLs to be used in media source attributes (img, audio, video, ...). // Default: false
676 * with_attribute_sanitizers?: Param|string|list<string|Param>,
677 * without_attribute_sanitizers?: Param|string|list<string|Param>,
678 * max_input_length?: int|Param, // The maximum length allowed for the sanitized input. // Default: 0
681 * webhook?: bool|array{ // Webhook configuration
682 * enabled?: bool|Param, // Default: false
683 * message_bus?: scalar|Param|null, // The message bus to use. // Default: "messenger.default_bus"
684 * event_header_name?: scalar|Param|null, // Default: "Webhook-Event"
685 * id_header_name?: scalar|Param|null, // Default: "Webhook-Id"
686 * signature_header_name?: scalar|Param|null, // Default: "Webhook-Signature"
687 * signing_algorithm?: scalar|Param|null, // Default: "sha256"
688 * routing?: array<string, array{ // Default: []
689 * service?: scalar|Param|null,
690 * secret?: scalar|Param|null, // The secret used to verify incoming request signatures. It must be set in production: with an empty value, depending on the parser, requests from any sender are accepted or every request is rejected. // Default: ""
693 * remote_event?: bool|array{ // RemoteEvent configuration
694 * enabled?: bool|Param, // Default: false
696 * json_streamer?: bool|array{ // JSON streamer configuration
697 * enabled?: bool|Param, // Default: false
698 * default_options?: array{
699 * include_null_properties?: bool|Param, // Encode the properties with null value // Default: false
704 * @psalm-type DoctrineConfig = array{
706 * default_connection?: scalar|Param|null,
707 * types?: array<string, Param|string|array{ // Default: []
708 * class?: scalar|Param|null,
710 * driver_schemes?: array<string, scalar|Param|null>,
711 * connections?: array<string, array{ // Default: []
712 * url?: scalar|Param|null, // A URL with connection information; any parameter value parsed from this string will override explicitly set parameters
713 * dbname?: scalar|Param|null,
714 * host?: scalar|Param|null, // Defaults to "localhost" at runtime.
715 * port?: scalar|Param|null, // Defaults to null at runtime.
716 * user?: scalar|Param|null, // Defaults to "root" at runtime.
717 * password?: scalar|Param|null, // Defaults to null at runtime.
718 * dbname_suffix?: scalar|Param|null, // Adds the given suffix to the configured database name, this option has no effects for the SQLite platform
719 * application_name?: scalar|Param|null,
720 * charset?: scalar|Param|null,
721 * path?: scalar|Param|null,
722 * memory?: bool|Param,
723 * unix_socket?: scalar|Param|null, // The unix socket to use for MySQL
724 * persistent?: bool|Param, // True to use as persistent connection for the ibm_db2 driver
725 * protocol?: scalar|Param|null, // The protocol to use for the ibm_db2 driver (default to TCPIP if omitted)
726 * service?: bool|Param, // True to use SERVICE_NAME as connection parameter instead of SID for Oracle
727 * servicename?: scalar|Param|null, // Overrules dbname parameter if given and used as SERVICE_NAME or SID connection parameter for Oracle depending on the service parameter.
728 * sessionMode?: scalar|Param|null, // The session mode to use for the oci8 driver
729 * server?: scalar|Param|null, // The name of a running database server to connect to for SQL Anywhere.
730 * default_dbname?: scalar|Param|null, // Override the default database (postgres) to connect to for PostgreSQL connection.
731 * sslmode?: scalar|Param|null, // Determines whether or with what priority a SSL TCP/IP connection will be negotiated with the server for PostgreSQL.
732 * sslrootcert?: scalar|Param|null, // The name of a file containing SSL certificate authority (CA) certificate(s). If the file exists, the server's certificate will be verified to be signed by one of these authorities.
733 * sslcert?: scalar|Param|null, // The path to the SSL client certificate file for PostgreSQL.
734 * sslkey?: scalar|Param|null, // The path to the SSL client key file for PostgreSQL.
735 * sslcrl?: scalar|Param|null, // The file name of the SSL certificate revocation list for PostgreSQL.
736 * pooled?: bool|Param, // True to use a pooled server with the oci8/pdo_oracle driver
737 * MultipleActiveResultSets?: bool|Param, // Configuring MultipleActiveResultSets for the pdo_sqlsrv driver
738 * instancename?: scalar|Param|null, // Optional parameter, complete whether to add the INSTANCE_NAME parameter in the connection. It is generally used to connect to an Oracle RAC server to select the name of a particular instance.
739 * connectstring?: scalar|Param|null, // Complete Easy Connect connection descriptor, see https://docs.oracle.com/database/121/NETAG/naming.htm.When using this option, you will still need to provide the user and password parameters, but the other parameters will no longer be used. Note that when using this parameter, the getHost and getPort methods from Doctrine\DBAL\Connection will no longer function as expected.
740 * driver?: scalar|Param|null, // Default: "pdo_mysql"
741 * auto_commit?: bool|Param,
742 * schema_filter?: scalar|Param|null,
743 * logging?: bool|Param, // Default: true
744 * profiling?: bool|Param, // Default: true
745 * profiling_collect_backtrace?: bool|Param, // Enables collecting backtraces when profiling is enabled // Default: false
746 * profiling_collect_schema_errors?: bool|Param, // Enables collecting schema errors when profiling is enabled // Default: true
747 * server_version?: scalar|Param|null,
748 * idle_connection_ttl?: int|Param, // Default: 600
749 * driver_class?: scalar|Param|null,
750 * wrapper_class?: scalar|Param|null,
751 * keep_replica?: bool|Param,
752 * options?: array<string, mixed>,
753 * mapping_types?: array<string, scalar|Param|null>,
754 * default_table_options?: array<string, scalar|Param|null>,
755 * schema_manager_factory?: scalar|Param|null, // Default: "doctrine.dbal.default_schema_manager_factory"
756 * result_cache?: scalar|Param|null,
757 * replicas?: array<string, array{ // Default: []
758 * url?: scalar|Param|null, // A URL with connection information; any parameter value parsed from this string will override explicitly set parameters
759 * dbname?: scalar|Param|null,
760 * host?: scalar|Param|null, // Defaults to "localhost" at runtime.
761 * port?: scalar|Param|null, // Defaults to null at runtime.
762 * user?: scalar|Param|null, // Defaults to "root" at runtime.
763 * password?: scalar|Param|null, // Defaults to null at runtime.
764 * dbname_suffix?: scalar|Param|null, // Adds the given suffix to the configured database name, this option has no effects for the SQLite platform
765 * application_name?: scalar|Param|null,
766 * charset?: scalar|Param|null,
767 * path?: scalar|Param|null,
768 * memory?: bool|Param,
769 * unix_socket?: scalar|Param|null, // The unix socket to use for MySQL
770 * persistent?: bool|Param, // True to use as persistent connection for the ibm_db2 driver
771 * protocol?: scalar|Param|null, // The protocol to use for the ibm_db2 driver (default to TCPIP if omitted)
772 * service?: bool|Param, // True to use SERVICE_NAME as connection parameter instead of SID for Oracle
773 * servicename?: scalar|Param|null, // Overrules dbname parameter if given and used as SERVICE_NAME or SID connection parameter for Oracle depending on the service parameter.
774 * sessionMode?: scalar|Param|null, // The session mode to use for the oci8 driver
775 * server?: scalar|Param|null, // The name of a running database server to connect to for SQL Anywhere.
776 * default_dbname?: scalar|Param|null, // Override the default database (postgres) to connect to for PostgreSQL connection.
777 * sslmode?: scalar|Param|null, // Determines whether or with what priority a SSL TCP/IP connection will be negotiated with the server for PostgreSQL.
778 * sslrootcert?: scalar|Param|null, // The name of a file containing SSL certificate authority (CA) certificate(s). If the file exists, the server's certificate will be verified to be signed by one of these authorities.
779 * sslcert?: scalar|Param|null, // The path to the SSL client certificate file for PostgreSQL.
780 * sslkey?: scalar|Param|null, // The path to the SSL client key file for PostgreSQL.
781 * sslcrl?: scalar|Param|null, // The file name of the SSL certificate revocation list for PostgreSQL.
782 * pooled?: bool|Param, // True to use a pooled server with the oci8/pdo_oracle driver
783 * MultipleActiveResultSets?: bool|Param, // Configuring MultipleActiveResultSets for the pdo_sqlsrv driver
784 * instancename?: scalar|Param|null, // Optional parameter, complete whether to add the INSTANCE_NAME parameter in the connection. It is generally used to connect to an Oracle RAC server to select the name of a particular instance.
785 * connectstring?: scalar|Param|null, // Complete Easy Connect connection descriptor, see https://docs.oracle.com/database/121/NETAG/naming.htm.When using this option, you will still need to provide the user and password parameters, but the other parameters will no longer be used. Note that when using this parameter, the getHost and getPort methods from Doctrine\DBAL\Connection will no longer function as expected.
793 * default_entity_manager?: scalar|Param|null,
794 * enable_native_lazy_objects?: bool|Param, // Deprecated: The "enable_native_lazy_objects" option is deprecated and will be removed in DoctrineBundle 4.0, as native lazy objects are now always enabled. // Default: true
795 * controller_resolver?: bool|array{
796 * enabled?: bool|Param, // Default: true
797 * auto_mapping?: bool|Param, // Deprecated: The "doctrine.orm.controller_resolver.auto_mapping.auto_mapping" option is deprecated and will be removed in DoctrineBundle 4.0, as it only accepts `false` since 3.0. // Set to true to enable using route placeholders as lookup criteria when the primary key doesn't match the argument name // Default: false
798 * evict_cache?: bool|Param, // Set to true to fetch the entity from the database instead of using the cache, if any // Default: false
800 * entity_managers?: array<string, array{ // Default: []
801 * query_cache_driver?: Param|string|array{
802 * type?: scalar|Param|null, // Default: null
803 * id?: scalar|Param|null,
804 * pool?: scalar|Param|null,
806 * metadata_cache_driver?: Param|string|array{
807 * type?: scalar|Param|null, // Default: null
808 * id?: scalar|Param|null,
809 * pool?: scalar|Param|null,
811 * result_cache_driver?: Param|string|array{
812 * type?: scalar|Param|null, // Default: null
813 * id?: scalar|Param|null,
814 * pool?: scalar|Param|null,
816 * entity_listeners?: array{
817 * entities?: array<string, array{ // Default: []
818 * listeners?: array<string, array{ // Default: []
819 * events?: list<array{ // Default: []
820 * type?: scalar|Param|null,
821 * method?: scalar|Param|null, // Default: null
827 * connection?: scalar|Param|null,
828 * class_metadata_factory_name?: scalar|Param|null, // Default: "Doctrine\\ORM\\Mapping\\ClassMetadataFactory"
829 * default_repository_class?: scalar|Param|null, // Default: "Doctrine\\ORM\\EntityRepository"
830 * auto_mapping?: scalar|Param|null, // Default: false
831 * auto_discover_entities?: bool|Param|null, // Registers all entity classes discovered by the container scan, removing the need for explicit "mappings". When not set, enabled if neither "mappings" nor "auto_mapping" is configured and Symfony 8.2 and doctrine/orm 3.6 are available. // Default: null
832 * naming_strategy?: scalar|Param|null, // Default: "doctrine.orm.naming_strategy.default"
833 * quote_strategy?: scalar|Param|null, // Default: "doctrine.orm.quote_strategy.default"
834 * typed_field_mapper?: scalar|Param|null, // Default: "doctrine.orm.typed_field_mapper.default"
835 * entity_listener_resolver?: scalar|Param|null, // Default: null
836 * fetch_mode_subselect_batch_size?: scalar|Param|null,
837 * use_schema_editor_api?: bool|Param|null, // Set to "true" or "false" to explicitly opt in or out of the schema editor API for schema generation. Requires doctrine/dbal 4.5 or higher and doctrine/orm 3.8 or higher. // Default: null
838 * repository_factory?: scalar|Param|null, // Default: "doctrine.orm.container_repository_factory"
839 * schema_ignore_classes?: list<scalar|Param|null>,
840 * validate_xml_mapping?: bool|Param, // Set to "true" to opt-in to the new mapping driver mode that was added in Doctrine ORM 2.14 and will be mandatory in ORM 3.0. See https://github.com/doctrine/orm/pull/6728. // Default: false
841 * second_level_cache?: array{
842 * region_cache_driver?: Param|string|array{
843 * type?: scalar|Param|null, // Default: null
844 * id?: scalar|Param|null,
845 * pool?: scalar|Param|null,
847 * region_lock_lifetime?: scalar|Param|null, // Default: 60
848 * log_enabled?: bool|Param, // Default: true
849 * region_lifetime?: scalar|Param|null, // Default: 3600
850 * enabled?: bool|Param, // Default: true
851 * factory?: scalar|Param|null,
852 * regions?: array<string, array{ // Default: []
853 * cache_driver?: Param|string|array{
854 * type?: scalar|Param|null, // Default: null
855 * id?: scalar|Param|null,
856 * pool?: scalar|Param|null,
858 * lock_path?: scalar|Param|null, // Default: "%kernel.cache_dir%/doctrine/orm/slc/filelock"
859 * lock_lifetime?: scalar|Param|null, // Default: 60
860 * type?: scalar|Param|null, // Default: "default"
861 * lifetime?: scalar|Param|null, // Default: null
862 * service?: scalar|Param|null,
863 * name?: scalar|Param|null,
865 * loggers?: array<string, array{ // Default: []
866 * name?: scalar|Param|null,
867 * service?: scalar|Param|null,
870 * hydrators?: array<string, scalar|Param|null>,
871 * mappings?: array<string, Param|bool|string|array{ // Default: []
872 * mapping?: scalar|Param|null, // Default: true
873 * type?: scalar|Param|null,
874 * dir?: scalar|Param|null,
875 * alias?: scalar|Param|null, // Deprecated: The "doctrine.orm.entity_managers..mappings..alias.alias" option is deprecated and will be removed in DoctrineBundle 4.0, as Doctrine ORM no longer supports entity namespace aliases.
876 * prefix?: scalar|Param|null,
877 * is_bundle?: bool|Param,
880 * string_functions?: array<string, scalar|Param|null>,
881 * numeric_functions?: array<string, scalar|Param|null>,
882 * datetime_functions?: array<string, scalar|Param|null>,
884 * filters?: array<string, Param|string|array{ // Default: []
885 * class?: scalar|Param|null,
886 * enabled?: bool|Param, // Default: false
887 * parameters?: array<string, mixed>,
890 * identity_generation_preferences?: array<string, scalar|Param|null>,
892 * resolve_target_entities?: array<string, scalar|Param|null>,
896 * @psalm-type DoctrineMigrationsConfig = array{
897 * enable_service_migrations?: bool|Param, // Whether to enable fetching migrations from the service container. // Default: false
898 * migrations_paths?: array<string, scalar|Param|null>,
899 * services?: array<string, scalar|Param|null>,
900 * factories?: array<string, scalar|Param|null>,
901 * storage?: array{ // Storage to use for migration status metadata.
902 * table_storage?: array{ // The default metadata storage, implemented as a table in the database.
903 * table_name?: scalar|Param|null, // Default: null
904 * version_column_name?: scalar|Param|null, // Default: null
905 * version_column_length?: scalar|Param|null, // Default: null
906 * executed_at_column_name?: scalar|Param|null, // Default: null
907 * execution_time_column_name?: scalar|Param|null, // Default: null
910 * migrations?: list<scalar|Param|null>,
911 * connection?: scalar|Param|null, // Connection name to use for the migrations database. // Default: null
912 * em?: scalar|Param|null, // Entity manager name to use for the migrations database (available when doctrine/orm is installed). // Default: null
913 * all_or_nothing?: scalar|Param|null, // Run all migrations in a transaction. // Default: false
914 * check_database_platform?: scalar|Param|null, // Adds an extra check in the generated migrations to allow execution only on the same platform as they were initially generated on. // Default: true
915 * custom_template?: scalar|Param|null, // Custom template path for generated migration classes. // Default: null
916 * organize_migrations?: scalar|Param|null, // Organize migrations mode. Possible values are: "BY_YEAR", "BY_YEAR_AND_MONTH", false // Default: false
917 * enable_profiler?: bool|Param, // Whether or not to enable the profiler collector to calculate and visualize migration status. This adds some queries overhead. // Default: false
918 * transactional?: bool|Param, // Whether or not to wrap migrations in a single transaction. // Default: true
920 * @psalm-type DebugConfig = array{
921 * max_items?: int|Param, // Max number of displayed items past the first level, -1 means no limit. // Default: 2500
922 * min_depth?: int|Param, // Minimum tree depth to clone all the items, 1 is default. // Default: 1
923 * max_string_length?: int|Param, // Max length of displayed strings, -1 means no limit. // Default: -1
924 * dump_destination?: scalar|Param|null, // A stream URL where dumps should be written to. // Default: null
925 * theme?: "dark"|"light"|Param, // Changes the color of the dump() output when rendered directly on the templating. "dark" (default) or "light". // Default: "dark"
927 * @psalm-type TwigConfig = array{
928 * form_themes?: list<scalar|Param|null>,
929 * globals?: array<string, array{ // Default: []
930 * id?: scalar|Param|null,
931 * type?: scalar|Param|null,
935 * autoescape_service?: scalar|Param|null, // Default: null
936 * autoescape_service_method?: scalar|Param|null, // Default: null
937 * cache?: scalar|Param|null, // Default: true
938 * charset?: scalar|Param|null, // Default: "%kernel.charset%"
939 * debug?: bool|Param, // Default: "%kernel.debug%"
940 * strict_variables?: bool|Param, // Default: "%kernel.debug%"
941 * auto_reload?: scalar|Param|null,
942 * optimizations?: int|Param,
943 * default_path?: scalar|Param|null, // The default path used to load templates. // Default: "%kernel.project_dir%/templates"
944 * file_name_pattern?: Param|string|list<scalar|Param|null>,
945 * paths?: array<string, mixed>,
946 * date?: array{ // The default format options used by the date filter.
947 * format?: scalar|Param|null, // Default: "F j, Y H:i"
948 * interval_format?: scalar|Param|null, // Default: "%d days"
949 * timezone?: scalar|Param|null, // The timezone used when formatting dates, when set to null, the timezone returned by date_default_timezone_get() is used. // Default: null
951 * number_format?: array{ // The default format options for the number_format filter.
952 * decimals?: int|Param, // Default: 0
953 * decimal_point?: scalar|Param|null, // Default: "."
954 * thousands_separator?: scalar|Param|null, // Default: ","
957 * html_to_text_converter?: scalar|Param|null, // A service implementing the "Symfony\Component\Mime\HtmlToTextConverter\HtmlToTextConverterInterface". // Default: null
960 * @psalm-type WebProfilerConfig = array{
961 * toolbar?: bool|array{ // Profiler toolbar configuration
962 * enabled?: bool|Param, // Default: false
963 * ajax_replace?: bool|Param, // Replace toolbar on AJAX requests // Default: false
965 * intercept_redirects?: bool|Param, // Default: false
966 * excluded_ajax_paths?: scalar|Param|null, // Default: "^/((index|app(_[\\w]+)?)\\.php/)?_wdt"
968 * @psalm-type TwigExtraConfig = array{
969 * cache?: bool|array{
970 * enabled?: bool|Param, // Default: false
973 * enabled?: bool|Param, // Default: true
975 * markdown?: bool|array{
976 * enabled?: bool|Param, // Default: true
979 * enabled?: bool|Param, // Default: true
981 * cssinliner?: bool|array{
982 * enabled?: bool|Param, // Default: false
985 * enabled?: bool|Param, // Default: false
987 * string?: bool|array{
988 * enabled?: bool|Param, // Default: false
990 * commonmark?: array{
991 * renderer?: array{ // Array of options for rendering HTML.
992 * block_separator?: scalar|Param|null,
993 * inner_separator?: scalar|Param|null,
994 * soft_break?: scalar|Param|null,
996 * html_input?: "strip"|"allow"|"escape"|Param, // How to handle HTML input.
997 * allow_unsafe_links?: bool|Param, // Remove risky link and image URLs by setting this to false. // Default: true
998 * max_nesting_level?: int|Param, // The maximum nesting level for blocks. // Default: 9223372036854775807
999 * max_delimiters_per_line?: int|Param, // The maximum number of strong/emphasis delimiters per line. // Default: 9223372036854775807
1000 * slug_normalizer?: array{ // Array of options for configuring how URL-safe slugs are created.
1002 * max_length?: int|Param, // Default: 255
1005 * commonmark?: array{ // Array of options for configuring the CommonMark core extension.
1006 * enable_em?: bool|Param, // Default: true
1007 * enable_strong?: bool|Param, // Default: true
1008 * use_asterisk?: bool|Param, // Default: true
1009 * use_underscore?: bool|Param, // Default: true
1010 * unordered_list_markers?: list<scalar|Param|null>,
1012 * ...<string, mixed>
1015 * @psalm-type SecurityConfig = array{
1016 * access_denied_url?: scalar|Param|null, // Default: null
1017 * session_fixation_strategy?: "none"|"migrate"|"invalidate"|Param, // Default: "migrate"
1018 * expose_security_errors?: \Symfony\Component\Security\Http\Authentication\ExposeSecurityLevel::None|\Symfony\Component\Security\Http\Authentication\ExposeSecurityLevel::AccountStatus|\Symfony\Component\Security\Http\Authentication\ExposeSecurityLevel::All|Param, // Default: "none"
1019 * erase_credentials?: bool|Param, // Deprecated: Setting the "security.erase_credentials.erase_credentials" configuration option is deprecated. It will be removed in Symfony 9.0, as the "eraseCredentials()" method was removed in Symfony 8.0. // Default: true
1020 * access_decision_manager?: array{
1021 * strategy?: "affirmative"|"consensus"|"unanimous"|"priority"|Param,
1022 * service?: scalar|Param|null,
1023 * strategy_service?: scalar|Param|null,
1024 * allow_if_all_abstain?: bool|Param, // Default: false
1025 * allow_if_equal_granted_denied?: bool|Param, // Default: true
1027 * password_hashers?: array<string, Param|string|array{ // Default: []
1028 * algorithm?: scalar|Param|null,
1029 * migrate_from?: Param|string|list<scalar|Param|null>,
1030 * hash_algorithm?: scalar|Param|null, // Name of hashing algorithm for PBKDF2 (i.e. sha256, sha512, etc..) See hash_algos() for a list of supported algorithms. // Default: "sha512"
1031 * key_length?: scalar|Param|null, // Default: 40
1032 * ignore_case?: bool|Param, // Default: false
1033 * encode_as_base64?: bool|Param, // Default: true
1034 * iterations?: scalar|Param|null, // Default: 5000
1035 * cost?: int|Param, // Default: null
1036 * memory_cost?: scalar|Param|null, // Default: null
1037 * time_cost?: scalar|Param|null, // Default: null
1038 * id?: scalar|Param|null,
1040 * providers?: array<string, array{ // Default: []
1041 * id?: scalar|Param|null,
1043 * providers?: Param|string|list<scalar|Param|null>,
1046 * class?: scalar|Param|null, // The full entity class name of your user class.
1047 * property?: scalar|Param|null, // Default: null
1048 * manager_name?: scalar|Param|null, // Default: null
1051 * users?: array<string, array{ // Default: []
1052 * password?: scalar|Param|null, // Default: null
1053 * roles?: Param|string|list<scalar|Param|null>,
1057 * service?: scalar|Param|null,
1058 * base_dn?: scalar|Param|null,
1059 * search_dn?: scalar|Param|null, // Default: null
1060 * search_password?: scalar|Param|null, // Default: null
1061 * extra_fields?: list<scalar|Param|null>,
1062 * default_roles?: Param|string|list<scalar|Param|null>,
1063 * role_fetcher?: scalar|Param|null, // Default: null
1064 * uid_key?: scalar|Param|null, // Default: "sAMAccountName"
1065 * filter?: scalar|Param|null, // Default: "({uid_key}={user_identifier})"
1066 * password_attribute?: scalar|Param|null, // Default: null
1069 * firewalls?: array<string, array{ // Default: []
1070 * pattern?: scalar|Param|null,
1071 * host?: scalar|Param|null,
1072 * methods?: Param|string|list<scalar|Param|null>,
1073 * security?: bool|Param, // Default: true
1074 * user_checker?: scalar|Param|null, // The UserChecker to use when authenticating users in this firewall. // Default: "security.user_checker"
1075 * request_matcher?: scalar|Param|null,
1076 * access_denied_url?: scalar|Param|null,
1077 * access_denied_handler?: scalar|Param|null,
1078 * entry_point?: scalar|Param|null, // An enabled authenticator name or a service id that implements "Symfony\Component\Security\Http\EntryPoint\AuthenticationEntryPointInterface".
1079 * provider?: scalar|Param|null,
1080 * stateless?: bool|Param, // Default: false
1081 * lazy?: bool|Param, // Default: false
1082 * context?: scalar|Param|null,
1084 * enable_csrf?: bool|Param|null, // Default: null
1085 * csrf_token_id?: scalar|Param|null, // Default: "logout"
1086 * csrf_parameter?: scalar|Param|null, // Default: "_csrf_token"
1087 * csrf_token_manager?: scalar|Param|null,
1088 * path?: scalar|Param|null, // Default: "/logout"
1089 * target?: scalar|Param|null, // Default: "/"
1090 * invalidate_session?: bool|Param, // Default: true
1091 * clear_site_data?: Param|string|list<"*"|"cache"|"cookies"|"storage"|"clientHints"|"executionContexts"|"prefetchCache"|"prerenderCache"|Param>,
1092 * delete_cookies?: Param|string|array<string, array{ // Default: []
1093 * path?: scalar|Param|null, // Default: null
1094 * domain?: scalar|Param|null, // Default: null
1095 * secure?: scalar|Param|null, // Default: false
1096 * samesite?: scalar|Param|null, // Default: null
1097 * partitioned?: scalar|Param|null, // Default: false
1100 * switch_user?: array{
1101 * provider?: scalar|Param|null,
1102 * parameter?: scalar|Param|null, // Default: "_switch_user"
1103 * role?: scalar|Param|null, // Default: "ROLE_ALLOWED_TO_SWITCH"
1104 * target_route?: scalar|Param|null, // Default: null
1106 * required_badges?: list<scalar|Param|null>,
1107 * custom_authenticators?: list<scalar|Param|null>,
1108 * login_throttling?: array{
1109 * limiter?: scalar|Param|null, // A service id implementing "Symfony\Component\HttpFoundation\RateLimiter\RequestRateLimiterInterface".
1110 * max_attempts?: int|Param, // Default: 5
1111 * interval?: scalar|Param|null, // Default: "1 minute"
1112 * lock_factory?: scalar|Param|null, // The service ID of the lock factory used by the login rate limiter ("auto" to use the default one when the Lock component is configured, or null to disable locking). // Default: "auto"
1113 * cache_pool?: string|Param, // The cache pool to use for storing the limiter state // Default: "cache.rate_limiter"
1114 * storage_service?: string|Param, // The service ID of a custom storage implementation, this precedes any configured "cache_pool" // Default: null
1117 * provider?: scalar|Param|null,
1118 * user?: scalar|Param|null, // Default: "SSL_CLIENT_S_DN_Email"
1119 * credentials?: scalar|Param|null, // Default: "SSL_CLIENT_S_DN"
1120 * user_identifier?: scalar|Param|null, // Default: "emailAddress"
1122 * remote_user?: array{
1123 * provider?: scalar|Param|null,
1124 * user?: scalar|Param|null, // Default: "REMOTE_USER"
1126 * login_link?: array{
1127 * check_route?: scalar|Param|null, // Route that will validate the login link - e.g. "app_login_link_verify".
1128 * check_post_only?: scalar|Param|null, // If true, only HTTP POST requests to "check_route" will be handled by the authenticator. // Default: false
1129 * signature_properties?: list<scalar|Param|null>,
1130 * lifetime?: int|Param, // The lifetime of the login link in seconds. // Default: 600
1131 * max_uses?: int|Param, // Max number of times a login link can be used - null means unlimited within lifetime. // Default: null
1132 * used_link_cache?: scalar|Param|null, // Cache service id used to expired links of max_uses is set.
1133 * success_handler?: scalar|Param|null, // A service id that implements Symfony\Component\Security\Http\Authentication\AuthenticationSuccessHandlerInterface.
1134 * failure_handler?: scalar|Param|null, // A service id that implements Symfony\Component\Security\Http\Authentication\AuthenticationFailureHandlerInterface.
1135 * provider?: scalar|Param|null, // The user provider to load users from.
1136 * secret?: scalar|Param|null, // Default: "%kernel.secret%"
1137 * always_use_default_target_path?: bool|Param, // Default: false
1138 * default_target_path?: scalar|Param|null, // Default: "/"
1139 * login_path?: scalar|Param|null, // Default: "/login"
1140 * target_path_parameter?: scalar|Param|null, // Default: "_target_path"
1141 * use_referer?: bool|Param, // Default: false
1142 * failure_path?: scalar|Param|null, // Default: null
1143 * failure_forward?: bool|Param, // Default: false
1144 * failure_path_parameter?: scalar|Param|null, // Default: "_failure_path"
1146 * form_login?: array{
1147 * provider?: scalar|Param|null,
1148 * remember_me?: bool|Param, // Default: true
1149 * success_handler?: scalar|Param|null,
1150 * failure_handler?: scalar|Param|null,
1151 * check_path?: scalar|Param|null, // Default: "/login_check"
1152 * use_forward?: bool|Param, // Default: false
1153 * login_path?: scalar|Param|null, // Default: "/login"
1154 * username_parameter?: scalar|Param|null, // Default: "_username"
1155 * password_parameter?: scalar|Param|null, // Default: "_password"
1156 * csrf_parameter?: scalar|Param|null, // Default: "_csrf_token"
1157 * csrf_token_id?: scalar|Param|null, // Default: "authenticate"
1158 * enable_csrf?: bool|Param, // Default: false
1159 * post_only?: bool|Param, // Default: true
1160 * form_only?: bool|Param, // Default: false
1161 * always_use_default_target_path?: bool|Param, // Default: false
1162 * default_target_path?: scalar|Param|null, // Default: "/"
1163 * target_path_parameter?: scalar|Param|null, // Default: "_target_path"
1164 * use_referer?: bool|Param, // Default: false
1165 * failure_path?: scalar|Param|null, // Default: null
1166 * failure_forward?: bool|Param, // Default: false
1167 * failure_path_parameter?: scalar|Param|null, // Default: "_failure_path"
1169 * form_login_ldap?: array{
1170 * provider?: scalar|Param|null,
1171 * remember_me?: bool|Param, // Default: true
1172 * success_handler?: scalar|Param|null,
1173 * failure_handler?: scalar|Param|null,
1174 * check_path?: scalar|Param|null, // Default: "/login_check"
1175 * use_forward?: bool|Param, // Default: false
1176 * login_path?: scalar|Param|null, // Default: "/login"
1177 * username_parameter?: scalar|Param|null, // Default: "_username"
1178 * password_parameter?: scalar|Param|null, // Default: "_password"
1179 * csrf_parameter?: scalar|Param|null, // Default: "_csrf_token"
1180 * csrf_token_id?: scalar|Param|null, // Default: "authenticate"
1181 * enable_csrf?: bool|Param, // Default: false
1182 * post_only?: bool|Param, // Default: true
1183 * form_only?: bool|Param, // Default: false
1184 * always_use_default_target_path?: bool|Param, // Default: false
1185 * default_target_path?: scalar|Param|null, // Default: "/"
1186 * target_path_parameter?: scalar|Param|null, // Default: "_target_path"
1187 * use_referer?: bool|Param, // Default: false
1188 * failure_path?: scalar|Param|null, // Default: null
1189 * failure_forward?: bool|Param, // Default: false
1190 * failure_path_parameter?: scalar|Param|null, // Default: "_failure_path"
1191 * service?: scalar|Param|null, // Default: "ldap"
1192 * dn_string?: scalar|Param|null, // Default: "{user_identifier}"
1193 * query_string?: scalar|Param|null,
1194 * search_dn?: scalar|Param|null, // Default: ""
1195 * search_password?: scalar|Param|null, // Default: ""
1197 * json_login?: array{
1198 * provider?: scalar|Param|null,
1199 * remember_me?: bool|Param, // Default: true
1200 * success_handler?: scalar|Param|null,
1201 * failure_handler?: scalar|Param|null,
1202 * check_path?: scalar|Param|null, // Default: "/login_check"
1203 * use_forward?: bool|Param, // Default: false
1204 * login_path?: scalar|Param|null, // Default: "/login"
1205 * username_path?: scalar|Param|null, // Default: "username"
1206 * password_path?: scalar|Param|null, // Default: "password"
1208 * json_login_ldap?: array{
1209 * provider?: scalar|Param|null,
1210 * remember_me?: bool|Param, // Default: true
1211 * success_handler?: scalar|Param|null,
1212 * failure_handler?: scalar|Param|null,
1213 * check_path?: scalar|Param|null, // Default: "/login_check"
1214 * use_forward?: bool|Param, // Default: false
1215 * login_path?: scalar|Param|null, // Default: "/login"
1216 * username_path?: scalar|Param|null, // Default: "username"
1217 * password_path?: scalar|Param|null, // Default: "password"
1218 * service?: scalar|Param|null, // Default: "ldap"
1219 * dn_string?: scalar|Param|null, // Default: "{user_identifier}"
1220 * query_string?: scalar|Param|null,
1221 * search_dn?: scalar|Param|null, // Default: ""
1222 * search_password?: scalar|Param|null, // Default: ""
1224 * access_token?: array{
1225 * provider?: scalar|Param|null,
1226 * remember_me?: bool|Param, // Default: true
1227 * success_handler?: scalar|Param|null,
1228 * failure_handler?: scalar|Param|null,
1229 * realm?: scalar|Param|null, // Default: null
1230 * token_extractors?: Param|string|list<scalar|Param|null>,
1231 * token_handler?: Param|string|array{
1232 * id?: scalar|Param|null,
1233 * oidc_user_info?: Param|string|array{
1234 * base_uri?: scalar|Param|null, // Base URI of the userinfo endpoint on the OIDC server, or the OIDC server URI to use the discovery (require "discovery" to be configured). The latter must end with a slash when it has a path, as the discovery path is resolved against it as a relative URL.
1235 * discovery?: array{ // Enable the OIDC discovery.
1237 * id?: scalar|Param|null, // Cache service id to use to cache the OIDC discovery configuration.
1240 * claim?: scalar|Param|null, // Claim which contains the user identifier (e.g. sub, email, etc.). // Default: "sub"
1241 * client?: scalar|Param|null, // HttpClient service id to use to call the OIDC server.
1244 * discovery?: array{ // Enable the OIDC discovery.
1245 * base_uri?: Param|string|list<scalar|Param|null>,
1247 * id?: scalar|Param|null, // Cache service id to use to cache the OIDC discovery configuration.
1249 * enforce_key_usage_verification?: bool|Param, // When enabled (default), only keys explicitly designated for signature (via "use":"sig" or a "key_ops" entry containing "sign"/"verify") are accepted. When disabled, keys without any usage designation are also accepted; keys explicitly restricted to encryption are still rejected. // Default: true
1251 * claim?: scalar|Param|null, // Claim which contains the user identifier (e.g.: sub, email..). // Default: "sub"
1252 * audience?: scalar|Param|null, // Audience set in the token, for validation purpose.
1253 * issuers?: list<scalar|Param|null>,
1254 * algorithms?: list<scalar|Param|null>,
1255 * keyset?: scalar|Param|null, // JSON-encoded JWKSet used to sign the token (must contain a list of valid public keys).
1256 * encryption?: bool|array{
1257 * enabled?: bool|Param, // Default: false
1258 * enforce?: bool|Param, // When enabled, the token shall be encrypted. // Default: false
1259 * algorithms?: list<scalar|Param|null>,
1260 * keyset?: scalar|Param|null, // JSON-encoded JWKSet used to decrypt the token (must contain a list of valid private keys).
1264 * validation_url?: scalar|Param|null, // CAS server validation URL
1265 * prefix?: scalar|Param|null, // CAS prefix // Default: "cas"
1266 * http_client?: scalar|Param|null, // HTTP Client service // Default: null
1268 * oauth2?: scalar|Param|null,
1271 * http_basic?: array{
1272 * provider?: scalar|Param|null,
1273 * realm?: scalar|Param|null, // Default: "Secured Area"
1275 * http_basic_ldap?: array{
1276 * provider?: scalar|Param|null,
1277 * realm?: scalar|Param|null, // Default: "Secured Area"
1278 * service?: scalar|Param|null, // Default: "ldap"
1279 * dn_string?: scalar|Param|null, // Default: "{user_identifier}"
1280 * query_string?: scalar|Param|null,
1281 * search_dn?: scalar|Param|null, // Default: ""
1282 * search_password?: scalar|Param|null, // Default: ""
1284 * remember_me?: array{
1285 * secret?: scalar|Param|null, // Default: "%kernel.secret%"
1286 * service?: scalar|Param|null,
1287 * user_providers?: Param|string|list<scalar|Param|null>,
1288 * catch_exceptions?: bool|Param, // Default: true
1289 * signature_properties?: list<scalar|Param|null>,
1290 * token_provider?: Param|string|array{
1291 * service?: scalar|Param|null, // The service ID of a custom remember-me token provider.
1292 * doctrine?: bool|array{
1293 * enabled?: bool|Param, // Default: false
1294 * connection?: scalar|Param|null, // Default: null
1297 * token_verifier?: scalar|Param|null, // The service ID of a custom rememberme token verifier.
1298 * name?: scalar|Param|null, // Default: "REMEMBERME"
1299 * lifetime?: int|Param, // Default: 31536000
1300 * path?: scalar|Param|null, // Default: "/"
1301 * domain?: scalar|Param|null, // Default: null
1302 * secure?: true|false|"auto"|Param, // Defaults to the value of "framework.session.cookie_secure", or to "auto".
1303 * httponly?: bool|Param, // Default: true
1304 * samesite?: null|"lax"|"strict"|"none"|Param, // Defaults to the value of "framework.session.cookie_samesite", or to "lax".
1305 * always_remember_me?: bool|Param, // Default: false
1306 * remember_me_parameter?: scalar|Param|null, // Default: "_remember_me"
1309 * access_control?: list<array{ // Default: []
1310 * request_matcher?: scalar|Param|null, // Default: null
1311 * requires_channel?: scalar|Param|null, // Default: null
1312 * path?: scalar|Param|null, // Use the urldecoded format. // Default: null
1313 * host?: scalar|Param|null, // Default: null
1314 * port?: int|Param, // Default: null
1315 * ips?: Param|string|list<scalar|Param|null>,
1316 * attributes?: array<string, scalar|Param|null>,
1317 * route?: scalar|Param|null, // Default: null
1318 * methods?: Param|string|list<scalar|Param|null>,
1319 * allow_if?: scalar|Param|null, // Default: null
1320 * roles?: Param|string|list<scalar|Param|null>,
1322 * role_hierarchy?: array<string, Param|string|list<scalar|Param|null>>,
1324 * @psalm-type MonologConfig = array{
1325 * use_microseconds?: scalar|Param|null, // Default: true
1326 * timezone?: string|Param, // The timezone used for the timestamp of every log record (e.g. "UTC" or "Europe/Paris"). Defaults to the PHP default timezone. // Default: null
1327 * channels?: list<scalar|Param|null>,
1328 * handlers?: array<string, array{ // Default: []
1329 * type?: scalar|Param|null,
1330 * id?: scalar|Param|null,
1331 * enabled?: bool|Param, // Default: true
1332 * priority?: scalar|Param|null, // Default: 0
1333 * level?: scalar|Param|null, // Default: "DEBUG"
1334 * bubble?: bool|Param, // Default: true
1335 * interactive_only?: bool|Param, // Default: false
1336 * app_name?: scalar|Param|null, // Default: null
1337 * include_stacktraces?: bool|Param, // Default: false
1338 * base_path?: scalar|Param|null, // Default: null
1339 * process_psr_3_messages?: array{
1340 * enabled?: bool|Param|null, // Default: null
1341 * date_format?: scalar|Param|null,
1342 * remove_used_context_fields?: bool|Param,
1343 * ...<string, mixed>
1345 * path?: scalar|Param|null, // Default: "%kernel.logs_dir%/%kernel.environment%.log"
1346 * file_permission?: scalar|Param|null, // Default: null
1347 * use_locking?: bool|Param, // Default: false
1348 * filename_format?: scalar|Param|null, // Default: "{filename}-{date}"
1349 * date_format?: scalar|Param|null, // Default: "Y-m-d"
1350 * ident?: scalar|Param|null, // Default: "php"
1351 * logopts?: scalar|Param|null, // Default: 1
1352 * facility?: scalar|Param|null, // Default: "user"
1353 * max_files?: scalar|Param|null, // Default: 0
1354 * action_level?: scalar|Param|null, // Default: "WARNING"
1355 * activation_strategy?: scalar|Param|null, // Default: null
1356 * stop_buffering?: bool|Param, // Default: true
1357 * passthru_level?: scalar|Param|null, // Default: null
1358 * excluded_http_codes?: list<array{ // Default: []
1359 * code?: scalar|Param|null,
1360 * urls?: list<scalar|Param|null>,
1362 * accepted_levels?: list<scalar|Param|null>,
1363 * min_level?: scalar|Param|null, // Default: "DEBUG"
1364 * max_level?: scalar|Param|null, // Default: "EMERGENCY"
1365 * buffer_size?: scalar|Param|null, // Default: 0
1366 * flush_on_overflow?: bool|Param, // Default: false
1367 * handler?: scalar|Param|null,
1368 * url?: scalar|Param|null,
1369 * exchange?: scalar|Param|null,
1370 * exchange_name?: scalar|Param|null, // Default: "log"
1371 * channel?: scalar|Param|null, // Default: null
1372 * bot_name?: scalar|Param|null, // Default: "Monolog"
1373 * use_attachment?: scalar|Param|null, // Default: true
1374 * use_short_attachment?: scalar|Param|null, // Default: false
1375 * include_extra?: scalar|Param|null, // Default: false
1376 * icon_emoji?: scalar|Param|null, // Default: null
1377 * webhook_url?: scalar|Param|null,
1378 * exclude_fields?: list<scalar|Param|null>,
1379 * token?: scalar|Param|null,
1380 * region?: scalar|Param|null,
1381 * source?: scalar|Param|null,
1382 * use_ssl?: bool|Param, // Default: true
1384 * title?: scalar|Param|null, // Default: null
1385 * host?: scalar|Param|null, // Default: null
1386 * port?: scalar|Param|null, // Default: 514
1387 * rfc?: scalar|Param|null, // Default: 1
1388 * config?: list<scalar|Param|null>,
1389 * members?: list<scalar|Param|null>,
1390 * connection_string?: scalar|Param|null,
1391 * timeout?: scalar|Param|null,
1392 * time?: scalar|Param|null, // Default: 60
1393 * deduplication_level?: scalar|Param|null, // Default: 400
1394 * store?: scalar|Param|null, // Default: null
1395 * connection_timeout?: scalar|Param|null,
1396 * persistent?: bool|Param,
1397 * message_type?: scalar|Param|null, // Default: 0
1398 * expand_newlines?: bool|Param, // Default: false
1399 * parse_mode?: scalar|Param|null, // Default: null
1400 * disable_webpage_preview?: bool|Param|null, // Default: null
1401 * disable_notification?: bool|Param|null, // Default: null
1402 * split_long_messages?: bool|Param, // Default: false
1403 * delay_between_messages?: bool|Param, // Default: false
1404 * topic?: int|Param, // Default: null
1405 * factor?: int|Param, // Default: 1
1406 * tags?: Param|string|list<scalar|Param|null>,
1407 * console_formatter_options?: mixed, // Default: []
1408 * formatter?: scalar|Param|null,
1409 * nested?: bool|Param, // Default: false
1410 * publisher?: Param|string|array{
1411 * id?: scalar|Param|null,
1412 * hostname?: scalar|Param|null,
1413 * port?: scalar|Param|null, // Default: 12201
1414 * chunk_size?: scalar|Param|null, // Default: 1420
1415 * encoder?: "json"|"compressed_json"|Param,
1417 * mongodb?: Param|string|array{
1418 * id?: scalar|Param|null, // ID of a MongoDB\Client service
1419 * uri?: scalar|Param|null,
1420 * username?: scalar|Param|null,
1421 * password?: scalar|Param|null,
1422 * database?: scalar|Param|null, // Default: "monolog"
1423 * collection?: scalar|Param|null, // Default: "logs"
1425 * elasticsearch?: Param|string|array{
1426 * id?: scalar|Param|null,
1427 * hosts?: list<scalar|Param|null>,
1428 * host?: scalar|Param|null,
1429 * port?: scalar|Param|null, // Default: 9200
1430 * transport?: scalar|Param|null, // Default: "Http"
1431 * user?: scalar|Param|null, // Default: null
1432 * password?: scalar|Param|null, // Default: null
1434 * index?: scalar|Param|null, // Default: "monolog"
1435 * document_type?: scalar|Param|null, // Default: "logs"
1436 * ignore_error?: scalar|Param|null, // Default: false
1437 * redis?: Param|string|array{
1438 * id?: scalar|Param|null,
1439 * host?: scalar|Param|null,
1440 * password?: scalar|Param|null, // Default: null
1441 * port?: scalar|Param|null, // Default: 6379
1442 * database?: scalar|Param|null, // Default: 0
1443 * key_name?: scalar|Param|null, // Default: "monolog_redis"
1445 * predis?: Param|string|array{ // Deprecated: The "predis" option is deprecated and ignored, use the "redis" option to configure the Predis client.
1446 * id?: scalar|Param|null,
1447 * host?: scalar|Param|null,
1449 * from_email?: scalar|Param|null,
1450 * to_email?: Param|string|list<scalar|Param|null>,
1451 * subject?: scalar|Param|null,
1452 * content_type?: scalar|Param|null, // Default: null
1453 * headers?: list<scalar|Param|null>,
1454 * parameters?: list<scalar|Param|null>,
1455 * mailer?: scalar|Param|null, // Default: null
1456 * email_prototype?: Param|string|array{
1457 * id?: scalar|Param|null,
1458 * method?: scalar|Param|null, // Default: null
1460 * verbosity_levels?: array{
1461 * VERBOSITY_QUIET?: scalar|Param|null, // Default: "ERROR"
1462 * VERBOSITY_NORMAL?: scalar|Param|null, // Default: "WARNING"
1463 * VERBOSITY_VERBOSE?: scalar|Param|null, // Default: "NOTICE"
1464 * VERBOSITY_VERY_VERBOSE?: scalar|Param|null, // Default: "INFO"
1465 * VERBOSITY_DEBUG?: scalar|Param|null, // Default: "DEBUG"
1467 * channels?: Param|string|array{
1468 * type?: scalar|Param|null,
1469 * elements?: list<scalar|Param|null>,
1470 * ...<string, mixed>
1474 * @psalm-type MakerConfig = array{
1475 * root_namespace?: scalar|Param|null, // Default: "App"
1476 * generate_final_classes?: bool|Param, // Default: true
1477 * generate_final_entities?: bool|Param, // Default: false
1479 * @psalm-type RapsyspackConfig = array{
1480 * cache?: scalar|Param|null, // Default: "/var/www/blog/var/cache/rapsyspack"
1482 * background?: scalar|Param|null, // Default: "white"
1483 * fill?: scalar|Param|null, // Default: "#cff"
1484 * format?: scalar|Param|null, // Default: "jpeg"
1485 * height?: scalar|Param|null, // Default: 52
1486 * size?: scalar|Param|null, // Default: 45
1487 * border?: scalar|Param|null, // Default: "#00c3f9"
1488 * thickness?: scalar|Param|null, // Default: 2
1489 * width?: scalar|Param|null, // Default: 192
1493 * max_redirects?: scalar|Param|null, // Default: 20
1494 * timeout?: scalar|Param|null, // Default: 60.0
1495 * user_agent?: scalar|Param|null, // Default: "rapsyspack/0.5.7"
1499 * align?: scalar|Param|null, // Default: "center"
1500 * fill?: scalar|Param|null, // Default: "white"
1501 * font?: scalar|Param|null, // Default: "default"
1502 * format?: scalar|Param|null, // Default: "jpeg"
1503 * height?: scalar|Param|null, // Default: 630
1504 * size?: scalar|Param|null, // Default: 60
1505 * source?: scalar|Param|null, // Default: "/var/www/blog/vendor/rapsys/packbundle/public/facebook/source.png"
1506 * border?: scalar|Param|null, // Default: "#00c3f9"
1507 * thickness?: scalar|Param|null, // Default: 15
1508 * width?: scalar|Param|null, // Default: 1200
1511 * css?: list<array{ // Default: [{"class":"Rapsys\\PackBundle\\Filter\\CPackFilter","args":["/usr/local/bin/cpack","minify"]}]
1512 * class?: scalar|Param|null, // Default: "Rapsys\\PackBundle\\Filter\\CPackFilter"
1513 * args?: list<scalar|Param|null>,
1515 * img?: list<array{ // Default: [{"class":"Rapsys\\PackBundle\\Filter\\IPackFilter","args":[]}]
1516 * class?: scalar|Param|null, // Default: "Rapsys\\PackBundle\\Filter\\IPackFilter"
1517 * args?: list<scalar|Param|null>,
1519 * js?: list<array{ // Default: [{"class":"Rapsys\\PackBundle\\Filter\\JPackFilter","args":["/usr/local/bin/jpack","best"]}]
1520 * class?: scalar|Param|null, // Default: "Rapsys\\PackBundle\\Filter\\JPackFilter"
1521 * args?: list<scalar|Param|null>,
1524 * fonts?: list<scalar|Param|null>,
1525 * formats?: list<scalar|Param|null>,
1527 * border?: scalar|Param|null, // Default: "#00c3f9"
1528 * fill?: scalar|Param|null, // Default: "#cff"
1529 * format?: scalar|Param|null, // Default: "jpeg"
1530 * height?: scalar|Param|null, // Default: 640
1531 * quality?: scalar|Param|null, // Default: 70
1532 * radius?: scalar|Param|null, // Default: 5
1533 * server?: scalar|Param|null, // Default: "osm"
1534 * thickness?: scalar|Param|null, // Default: 2
1535 * tz?: scalar|Param|null, // Default: 256
1536 * width?: scalar|Param|null, // Default: 640
1537 * zoom?: scalar|Param|null, // Default: 17
1540 * border?: scalar|Param|null, // Default: "#00c3f9"
1541 * fill?: scalar|Param|null, // Default: "#cff"
1542 * format?: scalar|Param|null, // Default: "jpeg"
1543 * height?: scalar|Param|null, // Default: 640
1544 * highborder?: scalar|Param|null, // Default: "#3333c3"
1545 * highfill?: scalar|Param|null, // Default: "#c3c3f9"
1546 * highradius?: scalar|Param|null, // Default: 6
1547 * highsize?: scalar|Param|null, // Default: 30
1548 * highthickness?: scalar|Param|null, // Default: 4
1549 * quality?: scalar|Param|null, // Default: 70
1550 * radius?: scalar|Param|null, // Default: 5
1551 * server?: scalar|Param|null, // Default: "osm"
1552 * size?: scalar|Param|null, // Default: 20
1553 * thickness?: scalar|Param|null, // Default: 2
1554 * tz?: scalar|Param|null, // Default: 256
1555 * width?: scalar|Param|null, // Default: 640
1556 * zoom?: scalar|Param|null, // Default: 17
1558 * prefixes?: list<scalar|Param|null>,
1559 * public?: scalar|Param|null, // Default: "/var/www/blog/vendor/rapsys/packbundle/public"
1561 * css?: scalar|Param|null, // Default: "rapsyspack_css"
1562 * img?: scalar|Param|null, // Default: "rapsyspack_img"
1563 * js?: scalar|Param|null, // Default: "rapsyspack_js"
1565 * servers?: list<scalar|Param|null>,
1567 * height?: scalar|Param|null, // Default: 128
1568 * format?: scalar|Param|null, // Default: "jpeg"
1569 * width?: scalar|Param|null, // Default: 128
1572 * css?: scalar|Param|null, // Default: "asset"
1573 * img?: scalar|Param|null, // Default: "asset"
1574 * js?: scalar|Param|null, // Default: "asset"
1577 * @psalm-type RapsysuserConfig = array{
1579 * civility?: scalar|Param|null, // Default: "Rapsys\\UserBundle\\Entity\\Civility"
1580 * group?: scalar|Param|null, // Default: "Rapsys\\UserBundle\\Entity\\Group"
1581 * user?: scalar|Param|null, // Default: "Rapsys\\UserBundle\\Entity\\User"
1582 * ...<string, mixed>
1585 * admin?: scalar|Param|null, // Default: "Admin"
1586 * civility?: scalar|Param|null, // Default: "Mister"
1587 * languages?: list<scalar|Param|null>,
1588 * locales?: list<scalar|Param|null>,
1589 * group?: list<scalar|Param|null>,
1590 * ...<string, mixed>
1594 * name?: scalar|Param|null, // Default: "rapsysuser_confirm"
1595 * context?: list<scalar|Param|null>,
1598 * name?: scalar|Param|null, // Default: "rapsysuser_edit"
1599 * context?: list<scalar|Param|null>,
1602 * name?: scalar|Param|null, // Default: "rapsysuser"
1603 * context?: list<scalar|Param|null>,
1606 * name?: scalar|Param|null, // Default: "rapsysuser_index"
1607 * context?: list<scalar|Param|null>,
1610 * name?: scalar|Param|null, // Default: "rapsysuser_login"
1611 * context?: list<scalar|Param|null>,
1614 * name?: scalar|Param|null, // Default: "rapsysuser_recover"
1615 * context?: list<scalar|Param|null>,
1618 * name?: scalar|Param|null, // Default: "rapsysuser_register"
1619 * context?: list<scalar|Param|null>,
1622 * translate?: list<scalar|Param|null>,
1624 * address?: scalar|Param|null, // Default: "contact@example.com"
1625 * name?: scalar|Param|null, // Default: "John Doe"
1627 * context?: list<mixed>,
1629 * admin?: list<mixed>,
1630 * field?: list<mixed>,
1631 * route?: list<scalar|Param|null>,
1633 * edit?: scalar|Param|null, // Default: "Rapsys\\UserBundle\\Form\\EditType"
1634 * reset?: scalar|Param|null, // Default: "Rapsys\\UserBundle\\Form\\ResetType"
1635 * name?: scalar|Param|null, // Default: "@RapsysUser/register.html.twig"
1636 * context?: list<mixed>,
1640 * route?: list<scalar|Param|null>,
1642 * name?: scalar|Param|null, // Default: "@RapsysUser/index.html.twig"
1643 * context?: list<mixed>,
1647 * route?: list<scalar|Param|null>,
1649 * name?: scalar|Param|null, // Default: "@RapsysUser/login.html.twig"
1650 * form?: scalar|Param|null, // Default: "Rapsys\\UserBundle\\Form\\LoginType"
1651 * context?: list<mixed>,
1655 * route?: list<scalar|Param|null>,
1657 * name?: scalar|Param|null, // Default: "@RapsysUser/recover.html.twig"
1658 * form?: scalar|Param|null, // Default: "Rapsys\\UserBundle\\Form\\RecoverType"
1659 * context?: list<mixed>,
1662 * subject?: scalar|Param|null, // Default: "Welcome back to %%site%%!"
1663 * html?: scalar|Param|null, // Default: "@RapsysUser/mail/recover.html.twig"
1664 * text?: scalar|Param|null, // Default: "@RapsysUser/mail/recover.text.twig"
1665 * context?: list<mixed>,
1669 * admin?: list<mixed>,
1670 * field?: list<mixed>,
1671 * route?: list<scalar|Param|null>,
1673 * form?: scalar|Param|null, // Default: "Rapsys\\UserBundle\\Form\\RegisterType"
1674 * name?: scalar|Param|null, // Default: "@RapsysUser/register.html.twig"
1675 * context?: list<mixed>,
1678 * subject?: scalar|Param|null, // Default: "Welcome to %%site%%!"
1679 * html?: scalar|Param|null, // Default: "@RapsysUser/mail/register.html.twig"
1680 * text?: scalar|Param|null, // Default: "@RapsysUser/mail/register.text.twig"
1681 * context?: list<mixed>,
1685 * @psalm-type RapsysblogConfig = array{
1687 * address?: scalar|Param|null, // Default: "john.doe@example.com"
1688 * name?: scalar|Param|null, // Default: "John Doe"
1691 * by?: scalar|Param|null, // Default: "Rapsys"
1692 * link?: scalar|Param|null, // Default: "https://example.com"
1693 * long?: scalar|Param|null, // Default: "All rights reserved"
1694 * short?: scalar|Param|null, // Default: "Copyright 2019-2023"
1695 * title?: scalar|Param|null, // Default: "By Raphaël"
1697 * donate?: scalar|Param|null, // Default: ""
1699 * apps?: list<scalar|Param|null>,
1700 * height?: int|Param, // Default: 630
1701 * width?: int|Param, // Default: 1200
1704 * ico?: scalar|Param|null, // Default: "@RapsysBlog/ico/icon.ico"
1705 * png?: list<scalar|Param|null>,
1706 * svg?: scalar|Param|null, // Default: "@RapsysBlog/svg/icon.svg"
1708 * languages?: mixed, // Default: {"en_gb":"English"}
1709 * locale?: scalar|Param|null, // Default: "en_gb"
1710 * locales?: mixed, // Default: ["en_gb"]
1712 * alt?: scalar|Param|null, // Default: "John Doe's blog logo"
1713 * png?: scalar|Param|null, // Default: "@RapsysBlog/png/logo.png"
1714 * svg?: scalar|Param|null, // Default: "@RapsysBlog/svg/logo.svg"
1716 * path?: scalar|Param|null, // Default: "bundles/rapsysblog"
1717 * root?: scalar|Param|null, // Default: "rapsysblog"
1718 * title?: scalar|Param|null, // Default: "John Doe's blog"
1720 * @psalm-type ConfigType = array{
1721 * imports?: ImportsConfig,
1722 * parameters?: ParametersConfig,
1723 * services?: ServicesConfig,
1724 * framework?: FrameworkConfig,
1725 * doctrine?: DoctrineConfig,
1726 * doctrine_migrations?: DoctrineMigrationsConfig,
1727 * twig?: TwigConfig,
1728 * twig_extra?: TwigExtraConfig,
1729 * security?: SecurityConfig,
1730 * monolog?: MonologConfig,
1731 * rapsyspack?: RapsyspackConfig,
1732 * rapsysuser?: RapsysuserConfig,
1733 * rapsysblog?: RapsysblogConfig,
1734 * "when@dev"?: array{
1735 * imports?: ImportsConfig,
1736 * parameters?: ParametersConfig,
1737 * services?: ServicesConfig,
1738 * framework?: FrameworkConfig,
1739 * doctrine?: DoctrineConfig,
1740 * doctrine_migrations?: DoctrineMigrationsConfig,
1741 * debug?: DebugConfig,
1742 * twig?: TwigConfig,
1743 * web_profiler?: WebProfilerConfig,
1744 * twig_extra?: TwigExtraConfig,
1745 * security?: SecurityConfig,
1746 * monolog?: MonologConfig,
1747 * maker?: MakerConfig,
1748 * rapsyspack?: RapsyspackConfig,
1749 * rapsysuser?: RapsysuserConfig,
1750 * rapsysblog?: RapsysblogConfig,
1752 * "when@prod"?: array{
1753 * imports?: ImportsConfig,
1754 * parameters?: ParametersConfig,
1755 * services?: ServicesConfig,
1756 * framework?: FrameworkConfig,
1757 * doctrine?: DoctrineConfig,
1758 * doctrine_migrations?: DoctrineMigrationsConfig,
1759 * twig?: TwigConfig,
1760 * twig_extra?: TwigExtraConfig,
1761 * security?: SecurityConfig,
1762 * monolog?: MonologConfig,
1763 * rapsyspack?: RapsyspackConfig,
1764 * rapsysuser?: RapsysuserConfig,
1765 * rapsysblog?: RapsysblogConfig,
1767 * "when@test"?: array{
1768 * imports?: ImportsConfig,
1769 * parameters?: ParametersConfig,
1770 * services?: ServicesConfig,
1771 * framework?: FrameworkConfig,
1772 * doctrine?: DoctrineConfig,
1773 * doctrine_migrations?: DoctrineMigrationsConfig,
1774 * twig?: TwigConfig,
1775 * web_profiler?: WebProfilerConfig,
1776 * twig_extra?: TwigExtraConfig,
1777 * security?: SecurityConfig,
1778 * monolog?: MonologConfig,
1779 * rapsyspack?: RapsyspackConfig,
1780 * rapsysuser?: RapsysuserConfig,
1781 * rapsysblog?: RapsysblogConfig,
1783 * ...<string, ExtensionType|array{ // extra keys must follow the when@%env% pattern or match an extension alias
1784 * imports?: ImportsConfig,
1785 * parameters?: ParametersConfig,
1786 * services?: ServicesConfig,
1787 * ...<string, ExtensionType>,
1794 * @param ConfigType $config
1796 * @psalm-return ConfigType
1798 public static function config(array $config): array
1800 /** @var ConfigType $config */
1801 $config = AppReference
::config($config);
1807 namespace Symfony\Component\Routing\Loader\Configurator
;
1810 * This class provides array-shapes for configuring the routes of an application.
1815 * // config/routes.php
1816 * namespace Symfony\Component\Routing\Loader\Configurator;
1818 * return Routes::config([
1819 * 'controllers' => [
1820 * 'resource' => 'routing.controllers',
1825 * @psalm-type RouteConfig = array{
1826 * path: string|array<string,string>,
1827 * controller?: string,
1828 * methods?: string|list<string>,
1829 * requirements?: array<string,string>,
1830 * defaults?: array<string,mixed>,
1831 * options?: array<string,mixed>,
1832 * host?: string|array<string,string>,
1833 * schemes?: string|list<string>,
1834 * condition?: string,
1840 * @psalm-type ImportConfig = array{
1843 * exclude?: string|list<string>,
1844 * prefix?: string|array<string,string>,
1845 * name_prefix?: string,
1846 * trailing_slash_on_root?: bool,
1847 * controller?: string,
1848 * methods?: string|list<string>,
1849 * requirements?: array<string,string>,
1850 * defaults?: array<string,mixed>,
1851 * options?: array<string,mixed>,
1852 * host?: string|array<string,string>,
1853 * schemes?: string|list<string>,
1854 * condition?: string,
1860 * @psalm-type AliasConfig = array{
1862 * deprecated?: array{package:string, version:string, message?:string},
1864 * @psalm-type RoutesConfig = array{
1865 * "when@dev"?: array<string, RouteConfig|ImportConfig|AliasConfig>,
1866 * "when@prod"?: array<string, RouteConfig|ImportConfig|AliasConfig>,
1867 * "when@test"?: array<string, RouteConfig|ImportConfig|AliasConfig>,
1868 * ...<string, RouteConfig|ImportConfig|AliasConfig>
1874 * @param RoutesConfig $config
1876 * @psalm-return RoutesConfig
1878 public static function config(array $config): array