reference.php 103 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694
  1. <?php
  2. // This file is auto-generated and is for apps only. Bundles SHOULD NOT rely on its content.
  3. namespace Symfony\Component\DependencyInjection\Loader\Configurator;
  4. use Symfony\Component\Config\Loader\ParamConfigurator as Param;
  5. /**
  6. * This class provides array-shapes for configuring the services and bundles of an application.
  7. *
  8. * Services declared with the config() method below are autowired and autoconfigured by default.
  9. *
  10. * This is for apps only. Bundles SHOULD NOT use it.
  11. *
  12. * Example:
  13. *
  14. * ```php
  15. * // config/services.php
  16. * namespace Symfony\Component\DependencyInjection\Loader\Configurator;
  17. *
  18. * return App::config([
  19. * 'services' => [
  20. * 'App\\' => [
  21. * 'resource' => '../src/',
  22. * ],
  23. * ],
  24. * ]);
  25. * ```
  26. *
  27. * @psalm-type ImportsConfig = list<string|array{
  28. * resource: string,
  29. * type?: string|null,
  30. * ignore_errors?: bool,
  31. * }>
  32. * @psalm-type ParametersConfig = array<string, scalar|\UnitEnum|array<scalar|\UnitEnum|array<mixed>|Param|null>|Param|null>
  33. * @psalm-type ArgumentsType = list<mixed>|array<string, mixed>
  34. * @psalm-type CallType = array<string, ArgumentsType>|array{0:string, 1?:ArgumentsType, 2?:bool}|array{method:string, arguments?:ArgumentsType, returns_clone?:bool}
  35. * @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
  36. * @psalm-type CallbackType = string|array{0:string|ReferenceConfigurator,1:string}|\Closure|ReferenceConfigurator|ExpressionConfigurator
  37. * @psalm-type DeprecationType = array{package: string, version: string, message?: string}
  38. * @psalm-type DefaultsType = array{
  39. * public?: bool,
  40. * tags?: TagsType,
  41. * resource_tags?: TagsType,
  42. * autowire?: bool,
  43. * autoconfigure?: bool,
  44. * bind?: array<string, mixed>,
  45. * }
  46. * @psalm-type InstanceofType = array{
  47. * shared?: bool,
  48. * lazy?: bool|string,
  49. * public?: bool,
  50. * properties?: array<string, mixed>,
  51. * configurator?: CallbackType,
  52. * calls?: list<CallType>,
  53. * tags?: TagsType,
  54. * resource_tags?: TagsType,
  55. * autowire?: bool,
  56. * bind?: array<string, mixed>,
  57. * constructor?: string,
  58. * }
  59. * @psalm-type DefinitionType = array{
  60. * class?: string,
  61. * file?: string,
  62. * parent?: string,
  63. * shared?: bool,
  64. * synthetic?: bool,
  65. * lazy?: bool|string,
  66. * public?: bool,
  67. * abstract?: bool,
  68. * deprecated?: DeprecationType,
  69. * factory?: CallbackType,
  70. * configurator?: CallbackType,
  71. * arguments?: ArgumentsType,
  72. * properties?: array<string, mixed>,
  73. * calls?: list<CallType>,
  74. * tags?: TagsType,
  75. * resource_tags?: TagsType,
  76. * decorates?: string,
  77. * decoration_inner_name?: string,
  78. * decoration_priority?: int,
  79. * decoration_on_invalid?: 'exception'|'ignore'|null,
  80. * autowire?: bool,
  81. * autoconfigure?: bool,
  82. * bind?: array<string, mixed>,
  83. * constructor?: string,
  84. * from_callable?: CallbackType,
  85. * }
  86. * @psalm-type AliasType = string|array{
  87. * alias: string,
  88. * public?: bool,
  89. * deprecated?: DeprecationType,
  90. * }
  91. * @psalm-type PrototypeType = array{
  92. * resource: string,
  93. * namespace?: string,
  94. * exclude?: string|list<string>,
  95. * parent?: string,
  96. * shared?: bool,
  97. * lazy?: bool|string,
  98. * public?: bool,
  99. * abstract?: bool,
  100. * deprecated?: DeprecationType,
  101. * factory?: CallbackType,
  102. * arguments?: ArgumentsType,
  103. * properties?: array<string, mixed>,
  104. * configurator?: CallbackType,
  105. * calls?: list<CallType>,
  106. * tags?: TagsType,
  107. * resource_tags?: TagsType,
  108. * autowire?: bool,
  109. * autoconfigure?: bool,
  110. * bind?: array<string, mixed>,
  111. * constructor?: string,
  112. * }
  113. * @psalm-type StackType = array{
  114. * stack: list<DefinitionType|AliasType|PrototypeType|array<class-string, ArgumentsType|null>>,
  115. * public?: bool,
  116. * deprecated?: DeprecationType,
  117. * }
  118. * @psalm-type ServicesConfig = array{
  119. * _defaults?: DefaultsType,
  120. * _instanceof?: InstanceofType,
  121. * ...<string, DefinitionType|AliasType|PrototypeType|StackType|ArgumentsType|null>
  122. * }
  123. * @psalm-type ExtensionType = array<string, mixed>
  124. * @psalm-type FrameworkConfig = array{
  125. * secret?: scalar|Param|null,
  126. * 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
  127. * allowed_http_method_override?: list<string|Param>|null,
  128. * 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)%"
  129. * ide?: scalar|Param|null, // Default: "%env(default::SYMFONY_IDE)%"
  130. * test?: bool|Param,
  131. * default_locale?: scalar|Param|null, // Default: "en"
  132. * 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
  133. * set_content_language_from_locale?: bool|Param, // Whether to set the Content-Language HTTP header on the Response using the Request locale. // Default: false
  134. * enabled_locales?: list<scalar|Param|null>,
  135. * trusted_hosts?: list<scalar|Param|null>,
  136. * trusted_proxies?: mixed, // Default: ["%env(default::SYMFONY_TRUSTED_PROXIES)%"]
  137. * trusted_headers?: list<scalar|Param|null>,
  138. * error_controller?: scalar|Param|null, // Default: "error_controller"
  139. * handle_all_throwables?: bool|Param, // HttpKernel will handle all kinds of \Throwable. // Default: true
  140. * csrf_protection?: bool|array{
  141. * enabled?: scalar|Param|null, // Default: null
  142. * stateless_token_ids?: list<scalar|Param|null>,
  143. * 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
  144. * cookie_name?: scalar|Param|null, // The name of the cookie to use when using stateless protection. // Default: "csrf-token"
  145. * },
  146. * form?: bool|array{ // Form configuration
  147. * enabled?: bool|Param, // Default: true
  148. * csrf_protection?: bool|array{
  149. * enabled?: scalar|Param|null, // Default: null
  150. * token_id?: scalar|Param|null, // Default: null
  151. * field_name?: scalar|Param|null, // Default: "_token"
  152. * field_attr?: array<string, scalar|Param|null>,
  153. * },
  154. * },
  155. * http_cache?: bool|array{ // HTTP cache configuration
  156. * enabled?: bool|Param, // Default: false
  157. * debug?: bool|Param, // Default: "%kernel.debug%"
  158. * trace_level?: "none"|"short"|"full"|Param,
  159. * trace_header?: scalar|Param|null,
  160. * default_ttl?: int|Param,
  161. * private_headers?: list<scalar|Param|null>,
  162. * skip_response_headers?: list<scalar|Param|null>,
  163. * allow_reload?: bool|Param,
  164. * allow_revalidate?: bool|Param,
  165. * stale_while_revalidate?: int|Param,
  166. * stale_if_error?: int|Param,
  167. * terminate_on_cache_hit?: bool|Param,
  168. * },
  169. * esi?: bool|array{ // ESI configuration
  170. * enabled?: bool|Param, // Default: false
  171. * },
  172. * ssi?: bool|array{ // SSI configuration
  173. * enabled?: bool|Param, // Default: false
  174. * },
  175. * fragments?: bool|array{ // Fragments configuration
  176. * enabled?: bool|Param, // Default: false
  177. * hinclude_default_template?: scalar|Param|null, // Default: null
  178. * path?: scalar|Param|null, // Default: "/_fragment"
  179. * },
  180. * profiler?: bool|array{ // Profiler configuration
  181. * enabled?: bool|Param, // Default: false
  182. * collect?: bool|Param, // Default: true
  183. * collect_parameter?: scalar|Param|null, // The name of the parameter to use to enable or disable collection on a per request basis. // Default: null
  184. * only_exceptions?: bool|Param, // Default: false
  185. * only_main_requests?: bool|Param, // Default: false
  186. * dsn?: scalar|Param|null, // Default: "file:%kernel.cache_dir%/profiler"
  187. * collect_serializer_data?: bool|Param, // Enables the serializer data collector and profiler panel. // Default: false
  188. * },
  189. * workflows?: bool|array{
  190. * enabled?: bool|Param, // Default: false
  191. * workflows?: array<string, array{ // Default: []
  192. * audit_trail?: bool|array{
  193. * enabled?: bool|Param, // Default: false
  194. * },
  195. * type?: "workflow"|"state_machine"|Param, // Default: "state_machine"
  196. * marking_store?: array{
  197. * type?: "method"|Param,
  198. * property?: scalar|Param|null,
  199. * service?: scalar|Param|null,
  200. * },
  201. * supports?: list<scalar|Param|null>,
  202. * definition_validators?: list<scalar|Param|null>,
  203. * support_strategy?: scalar|Param|null,
  204. * initial_marking?: list<scalar|Param|null>,
  205. * events_to_dispatch?: list<string|Param>|null,
  206. * places?: list<array{ // Default: []
  207. * name: scalar|Param|null,
  208. * metadata?: list<mixed>,
  209. * }>,
  210. * transitions: list<array{ // Default: []
  211. * name: string|Param,
  212. * guard?: string|Param, // An expression to block the transition.
  213. * from?: list<array{ // Default: []
  214. * place: string|Param,
  215. * weight?: int|Param, // Default: 1
  216. * }>,
  217. * to?: list<array{ // Default: []
  218. * place: string|Param,
  219. * weight?: int|Param, // Default: 1
  220. * }>,
  221. * weight?: int|Param, // Default: 1
  222. * metadata?: list<mixed>,
  223. * }>,
  224. * metadata?: list<mixed>,
  225. * }>,
  226. * },
  227. * router?: bool|array{ // Router configuration
  228. * enabled?: bool|Param, // Default: false
  229. * resource: scalar|Param|null,
  230. * type?: scalar|Param|null,
  231. * cache_dir?: scalar|Param|null, // Deprecated: Setting the "framework.router.cache_dir.cache_dir" configuration option is deprecated. It will be removed in version 8.0. // Default: "%kernel.build_dir%"
  232. * default_uri?: scalar|Param|null, // The default URI used to generate URLs in a non-HTTP context. // Default: null
  233. * http_port?: scalar|Param|null, // Default: 80
  234. * https_port?: scalar|Param|null, // Default: 443
  235. * 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
  236. * utf8?: bool|Param, // Default: true
  237. * },
  238. * session?: bool|array{ // Session configuration
  239. * enabled?: bool|Param, // Default: false
  240. * storage_factory_id?: scalar|Param|null, // Default: "session.storage.factory.native"
  241. * 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.
  242. * name?: scalar|Param|null,
  243. * cookie_lifetime?: scalar|Param|null,
  244. * cookie_path?: scalar|Param|null,
  245. * cookie_domain?: scalar|Param|null,
  246. * cookie_secure?: true|false|"auto"|Param, // Default: "auto"
  247. * cookie_httponly?: bool|Param, // Default: true
  248. * cookie_samesite?: null|"lax"|"strict"|"none"|Param, // Default: "lax"
  249. * use_cookies?: bool|Param,
  250. * gc_divisor?: scalar|Param|null,
  251. * gc_probability?: scalar|Param|null,
  252. * gc_maxlifetime?: scalar|Param|null,
  253. * save_path?: scalar|Param|null, // Defaults to "%kernel.cache_dir%/sessions" if the "handler_id" option is not null.
  254. * metadata_update_threshold?: int|Param, // Seconds to wait between 2 session metadata updates. // Default: 0
  255. * sid_length?: int|Param, // Deprecated: Setting the "framework.session.sid_length.sid_length" configuration option is deprecated. It will be removed in version 8.0. No alternative is provided as PHP 8.4 has deprecated the related option.
  256. * sid_bits_per_character?: int|Param, // Deprecated: Setting the "framework.session.sid_bits_per_character.sid_bits_per_character" configuration option is deprecated. It will be removed in version 8.0. No alternative is provided as PHP 8.4 has deprecated the related option.
  257. * },
  258. * request?: bool|array{ // Request configuration
  259. * enabled?: bool|Param, // Default: false
  260. * formats?: array<string, string|list<scalar|Param|null>>,
  261. * },
  262. * assets?: bool|array{ // Assets configuration
  263. * enabled?: bool|Param, // Default: true
  264. * strict_mode?: bool|Param, // Throw an exception if an entry is missing from the manifest.json. // Default: false
  265. * version_strategy?: scalar|Param|null, // Default: null
  266. * version?: scalar|Param|null, // Default: null
  267. * version_format?: scalar|Param|null, // Default: "%%s?%%s"
  268. * json_manifest_path?: scalar|Param|null, // Default: null
  269. * base_path?: scalar|Param|null, // Default: ""
  270. * base_urls?: list<scalar|Param|null>,
  271. * packages?: array<string, array{ // Default: []
  272. * strict_mode?: bool|Param, // Throw an exception if an entry is missing from the manifest.json. // Default: false
  273. * version_strategy?: scalar|Param|null, // Default: null
  274. * version?: scalar|Param|null,
  275. * version_format?: scalar|Param|null, // Default: null
  276. * json_manifest_path?: scalar|Param|null, // Default: null
  277. * base_path?: scalar|Param|null, // Default: ""
  278. * base_urls?: list<scalar|Param|null>,
  279. * }>,
  280. * },
  281. * asset_mapper?: bool|array{ // Asset Mapper configuration
  282. * enabled?: bool|Param, // Default: false
  283. * paths?: array<string, scalar|Param|null>,
  284. * excluded_patterns?: list<scalar|Param|null>,
  285. * exclude_dotfiles?: bool|Param, // If true, any files starting with "." will be excluded from the asset mapper. // Default: true
  286. * 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
  287. * public_prefix?: scalar|Param|null, // The public path where the assets will be written to (and served from when "server" is true). // Default: "/assets/"
  288. * 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"
  289. * extensions?: array<string, scalar|Param|null>,
  290. * importmap_path?: scalar|Param|null, // The path of the importmap.php file. // Default: "%kernel.project_dir%/importmap.php"
  291. * 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"
  292. * importmap_script_attributes?: array<string, scalar|Param|null>,
  293. * vendor_dir?: scalar|Param|null, // The directory to store JavaScript vendors. // Default: "%kernel.project_dir%/assets/vendor"
  294. * precompress?: bool|array{ // Precompress assets with Brotli, Zstandard and gzip.
  295. * enabled?: bool|Param, // Default: false
  296. * formats?: list<scalar|Param|null>,
  297. * extensions?: list<scalar|Param|null>,
  298. * },
  299. * },
  300. * translator?: bool|array{ // Translator configuration
  301. * enabled?: bool|Param, // Default: true
  302. * fallbacks?: list<scalar|Param|null>,
  303. * logging?: bool|Param, // Default: false
  304. * formatter?: scalar|Param|null, // Default: "translator.formatter.default"
  305. * cache_dir?: scalar|Param|null, // Default: "%kernel.cache_dir%/translations"
  306. * default_path?: scalar|Param|null, // The default path used to load translations. // Default: "%kernel.project_dir%/translations"
  307. * paths?: list<scalar|Param|null>,
  308. * pseudo_localization?: bool|array{
  309. * enabled?: bool|Param, // Default: false
  310. * accents?: bool|Param, // Default: true
  311. * expansion_factor?: float|Param, // Default: 1.0
  312. * brackets?: bool|Param, // Default: true
  313. * parse_html?: bool|Param, // Default: false
  314. * localizable_html_attributes?: list<scalar|Param|null>,
  315. * },
  316. * providers?: array<string, array{ // Default: []
  317. * dsn?: scalar|Param|null,
  318. * domains?: list<scalar|Param|null>,
  319. * locales?: list<scalar|Param|null>,
  320. * }>,
  321. * globals?: array<string, string|array{ // Default: []
  322. * value?: mixed,
  323. * message?: string|Param,
  324. * parameters?: array<string, scalar|Param|null>,
  325. * domain?: string|Param,
  326. * }>,
  327. * },
  328. * validation?: bool|array{ // Validation configuration
  329. * enabled?: bool|Param, // Default: true
  330. * cache?: scalar|Param|null, // Deprecated: Setting the "framework.validation.cache.cache" configuration option is deprecated. It will be removed in version 8.0.
  331. * enable_attributes?: bool|Param, // Default: true
  332. * static_method?: list<scalar|Param|null>,
  333. * translation_domain?: scalar|Param|null, // Default: "validators"
  334. * email_validation_mode?: "html5"|"html5-allow-no-tld"|"strict"|"loose"|Param, // Default: "html5"
  335. * mapping?: array{
  336. * paths?: list<scalar|Param|null>,
  337. * },
  338. * not_compromised_password?: bool|array{
  339. * enabled?: bool|Param, // When disabled, compromised passwords will be accepted as valid. // Default: true
  340. * endpoint?: scalar|Param|null, // API endpoint for the NotCompromisedPassword Validator. // Default: null
  341. * },
  342. * disable_translation?: bool|Param, // Default: false
  343. * auto_mapping?: array<string, array{ // Default: []
  344. * services?: list<scalar|Param|null>,
  345. * }>,
  346. * },
  347. * annotations?: bool|array{
  348. * enabled?: bool|Param, // Default: false
  349. * },
  350. * serializer?: bool|array{ // Serializer configuration
  351. * enabled?: bool|Param, // Default: true
  352. * enable_attributes?: bool|Param, // Default: true
  353. * name_converter?: scalar|Param|null,
  354. * circular_reference_handler?: scalar|Param|null,
  355. * max_depth_handler?: scalar|Param|null,
  356. * mapping?: array{
  357. * paths?: list<scalar|Param|null>,
  358. * },
  359. * default_context?: list<mixed>,
  360. * named_serializers?: array<string, array{ // Default: []
  361. * name_converter?: scalar|Param|null,
  362. * default_context?: list<mixed>,
  363. * include_built_in_normalizers?: bool|Param, // Whether to include the built-in normalizers // Default: true
  364. * include_built_in_encoders?: bool|Param, // Whether to include the built-in encoders // Default: true
  365. * }>,
  366. * },
  367. * property_access?: bool|array{ // Property access configuration
  368. * enabled?: bool|Param, // Default: true
  369. * magic_call?: bool|Param, // Default: false
  370. * magic_get?: bool|Param, // Default: true
  371. * magic_set?: bool|Param, // Default: true
  372. * throw_exception_on_invalid_index?: bool|Param, // Default: false
  373. * throw_exception_on_invalid_property_path?: bool|Param, // Default: true
  374. * },
  375. * type_info?: bool|array{ // Type info configuration
  376. * enabled?: bool|Param, // Default: true
  377. * aliases?: array<string, scalar|Param|null>,
  378. * },
  379. * property_info?: bool|array{ // Property info configuration
  380. * enabled?: bool|Param, // Default: true
  381. * with_constructor_extractor?: bool|Param, // Registers the constructor extractor.
  382. * },
  383. * cache?: array{ // Cache configuration
  384. * 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%"
  385. * app?: scalar|Param|null, // App related cache pools configuration. // Default: "cache.adapter.filesystem"
  386. * system?: scalar|Param|null, // System related cache pools configuration. // Default: "cache.adapter.system"
  387. * directory?: scalar|Param|null, // Default: "%kernel.share_dir%/pools/app"
  388. * default_psr6_provider?: scalar|Param|null,
  389. * default_redis_provider?: scalar|Param|null, // Default: "redis://localhost"
  390. * default_valkey_provider?: scalar|Param|null, // Default: "valkey://localhost"
  391. * default_memcached_provider?: scalar|Param|null, // Default: "memcached://localhost"
  392. * default_doctrine_dbal_provider?: scalar|Param|null, // Default: "database_connection"
  393. * default_pdo_provider?: scalar|Param|null, // Default: null
  394. * pools?: array<string, array{ // Default: []
  395. * adapters?: list<scalar|Param|null>,
  396. * tags?: scalar|Param|null, // Default: null
  397. * public?: bool|Param, // Default: false
  398. * default_lifetime?: scalar|Param|null, // Default lifetime of the pool.
  399. * provider?: scalar|Param|null, // Overwrite the setting from the default provider for this adapter.
  400. * early_expiration_message_bus?: scalar|Param|null,
  401. * clearer?: scalar|Param|null,
  402. * }>,
  403. * },
  404. * php_errors?: array{ // PHP errors handling configuration
  405. * log?: mixed, // Use the application logger instead of the PHP logger for logging PHP errors. // Default: true
  406. * throw?: bool|Param, // Throw PHP errors as \ErrorException instances. // Default: true
  407. * },
  408. * exceptions?: array<string, array{ // Default: []
  409. * log_level?: scalar|Param|null, // The level of log message. Null to let Symfony decide. // Default: null
  410. * status_code?: scalar|Param|null, // The status code of the response. Null or 0 to let Symfony decide. // Default: null
  411. * log_channel?: scalar|Param|null, // The channel of log message. Null to let Symfony decide. // Default: null
  412. * }>,
  413. * web_link?: bool|array{ // Web links configuration
  414. * enabled?: bool|Param, // Default: true
  415. * },
  416. * lock?: bool|string|array{ // Lock configuration
  417. * enabled?: bool|Param, // Default: false
  418. * resources?: array<string, string|list<scalar|Param|null>>,
  419. * },
  420. * semaphore?: bool|string|array{ // Semaphore configuration
  421. * enabled?: bool|Param, // Default: false
  422. * resources?: array<string, scalar|Param|null>,
  423. * },
  424. * messenger?: bool|array{ // Messenger configuration
  425. * enabled?: bool|Param, // Default: false
  426. * routing?: array<string, array{ // Default: []
  427. * senders?: list<scalar|Param|null>,
  428. * }>,
  429. * serializer?: array{
  430. * default_serializer?: scalar|Param|null, // Service id to use as the default serializer for the transports. // Default: "messenger.transport.native_php_serializer"
  431. * symfony_serializer?: array{
  432. * format?: scalar|Param|null, // Serialization format for the messenger.transport.symfony_serializer service (which is not the serializer used by default). // Default: "json"
  433. * context?: array<string, mixed>,
  434. * },
  435. * },
  436. * transports?: array<string, string|array{ // Default: []
  437. * dsn?: scalar|Param|null,
  438. * serializer?: scalar|Param|null, // Service id of a custom serializer to use. // Default: null
  439. * options?: list<mixed>,
  440. * failure_transport?: scalar|Param|null, // Transport name to send failed messages to (after all retries have failed). // Default: null
  441. * retry_strategy?: string|array{
  442. * service?: scalar|Param|null, // Service id to override the retry strategy entirely. // Default: null
  443. * max_retries?: int|Param, // Default: 3
  444. * delay?: int|Param, // Time in ms to delay (or the initial value when multiplier is used). // Default: 1000
  445. * multiplier?: float|Param, // If greater than 1, delay will grow exponentially for each retry: this delay = (delay * (multiple ^ retries)). // Default: 2
  446. * max_delay?: int|Param, // Max time in ms that a retry should ever be delayed (0 = infinite). // Default: 0
  447. * jitter?: float|Param, // Randomness to apply to the delay (between 0 and 1). // Default: 0.1
  448. * },
  449. * rate_limiter?: scalar|Param|null, // Rate limiter name to use when processing messages. // Default: null
  450. * }>,
  451. * failure_transport?: scalar|Param|null, // Transport name to send failed messages to (after all retries have failed). // Default: null
  452. * stop_worker_on_signals?: list<scalar|Param|null>,
  453. * default_bus?: scalar|Param|null, // Default: null
  454. * buses?: array<string, array{ // Default: {"messenger.bus.default":{"default_middleware":{"enabled":true,"allow_no_handlers":false,"allow_no_senders":true},"middleware":[]}}
  455. * default_middleware?: bool|string|array{
  456. * enabled?: bool|Param, // Default: true
  457. * allow_no_handlers?: bool|Param, // Default: false
  458. * allow_no_senders?: bool|Param, // Default: true
  459. * },
  460. * middleware?: list<string|array{ // Default: []
  461. * id: scalar|Param|null,
  462. * arguments?: list<mixed>,
  463. * }>,
  464. * }>,
  465. * },
  466. * scheduler?: bool|array{ // Scheduler configuration
  467. * enabled?: bool|Param, // Default: false
  468. * },
  469. * disallow_search_engine_index?: bool|Param, // Enabled by default when debug is enabled. // Default: true
  470. * http_client?: bool|array{ // HTTP Client configuration
  471. * enabled?: bool|Param, // Default: true
  472. * max_host_connections?: int|Param, // The maximum number of connections to a single host.
  473. * default_options?: array{
  474. * headers?: array<string, mixed>,
  475. * vars?: array<string, mixed>,
  476. * max_redirects?: int|Param, // The maximum number of redirects to follow.
  477. * http_version?: scalar|Param|null, // The default HTTP version, typically 1.1 or 2.0, leave to null for the best version.
  478. * resolve?: array<string, scalar|Param|null>,
  479. * proxy?: scalar|Param|null, // The URL of the proxy to pass requests through or null for automatic detection.
  480. * no_proxy?: scalar|Param|null, // A comma separated list of hosts that do not require a proxy to be reached.
  481. * timeout?: float|Param, // The idle timeout, defaults to the "default_socket_timeout" ini parameter.
  482. * max_duration?: float|Param, // The maximum execution time for the request+response as a whole.
  483. * bindto?: scalar|Param|null, // A network interface name, IP address, a host name or a UNIX socket to bind to.
  484. * verify_peer?: bool|Param, // Indicates if the peer should be verified in a TLS context.
  485. * verify_host?: bool|Param, // Indicates if the host should exist as a certificate common name.
  486. * cafile?: scalar|Param|null, // A certificate authority file.
  487. * capath?: scalar|Param|null, // A directory that contains multiple certificate authority files.
  488. * local_cert?: scalar|Param|null, // A PEM formatted certificate file.
  489. * local_pk?: scalar|Param|null, // A private key file.
  490. * passphrase?: scalar|Param|null, // The passphrase used to encrypt the "local_pk" file.
  491. * ciphers?: scalar|Param|null, // A list of TLS ciphers separated by colons, commas or spaces (e.g. "RC3-SHA:TLS13-AES-128-GCM-SHA256"...)
  492. * peer_fingerprint?: array{ // Associative array: hashing algorithm => hash(es).
  493. * sha1?: mixed,
  494. * pin-sha256?: mixed,
  495. * md5?: mixed,
  496. * },
  497. * crypto_method?: scalar|Param|null, // The minimum version of TLS to accept; must be one of STREAM_CRYPTO_METHOD_TLSv*_CLIENT constants.
  498. * extra?: array<string, mixed>,
  499. * rate_limiter?: scalar|Param|null, // Rate limiter name to use for throttling requests. // Default: null
  500. * caching?: bool|array{ // Caching configuration.
  501. * enabled?: bool|Param, // Default: false
  502. * cache_pool?: string|Param, // The taggable cache pool to use for storing the responses. // Default: "cache.http_client"
  503. * shared?: bool|Param, // Indicates whether the cache is shared (public) or private. // Default: true
  504. * max_ttl?: int|Param, // The maximum TTL (in seconds) allowed for cached responses. Null means no cap. // Default: null
  505. * },
  506. * retry_failed?: bool|array{
  507. * enabled?: bool|Param, // Default: false
  508. * retry_strategy?: scalar|Param|null, // service id to override the retry strategy. // Default: null
  509. * http_codes?: array<string, array{ // Default: []
  510. * code?: int|Param,
  511. * methods?: list<string|Param>,
  512. * }>,
  513. * max_retries?: int|Param, // Default: 3
  514. * delay?: int|Param, // Time in ms to delay (or the initial value when multiplier is used). // Default: 1000
  515. * multiplier?: float|Param, // If greater than 1, delay will grow exponentially for each retry: delay * (multiple ^ retries). // Default: 2
  516. * max_delay?: int|Param, // Max time in ms that a retry should ever be delayed (0 = infinite). // Default: 0
  517. * jitter?: float|Param, // Randomness in percent (between 0 and 1) to apply to the delay. // Default: 0.1
  518. * },
  519. * },
  520. * mock_response_factory?: scalar|Param|null, // The id of the service that should generate mock responses. It should be either an invokable or an iterable.
  521. * scoped_clients?: array<string, string|array{ // Default: []
  522. * 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.
  523. * base_uri?: scalar|Param|null, // The URI to resolve relative URLs, following rules in RFC 3985, section 2.
  524. * auth_basic?: scalar|Param|null, // An HTTP Basic authentication "username:password".
  525. * auth_bearer?: scalar|Param|null, // A token enabling HTTP Bearer authorization.
  526. * auth_ntlm?: scalar|Param|null, // A "username:password" pair to use Microsoft NTLM authentication (requires the cURL extension).
  527. * query?: array<string, scalar|Param|null>,
  528. * headers?: array<string, mixed>,
  529. * max_redirects?: int|Param, // The maximum number of redirects to follow.
  530. * http_version?: scalar|Param|null, // The default HTTP version, typically 1.1 or 2.0, leave to null for the best version.
  531. * resolve?: array<string, scalar|Param|null>,
  532. * proxy?: scalar|Param|null, // The URL of the proxy to pass requests through or null for automatic detection.
  533. * no_proxy?: scalar|Param|null, // A comma separated list of hosts that do not require a proxy to be reached.
  534. * timeout?: float|Param, // The idle timeout, defaults to the "default_socket_timeout" ini parameter.
  535. * max_duration?: float|Param, // The maximum execution time for the request+response as a whole.
  536. * bindto?: scalar|Param|null, // A network interface name, IP address, a host name or a UNIX socket to bind to.
  537. * verify_peer?: bool|Param, // Indicates if the peer should be verified in a TLS context.
  538. * verify_host?: bool|Param, // Indicates if the host should exist as a certificate common name.
  539. * cafile?: scalar|Param|null, // A certificate authority file.
  540. * capath?: scalar|Param|null, // A directory that contains multiple certificate authority files.
  541. * local_cert?: scalar|Param|null, // A PEM formatted certificate file.
  542. * local_pk?: scalar|Param|null, // A private key file.
  543. * passphrase?: scalar|Param|null, // The passphrase used to encrypt the "local_pk" file.
  544. * ciphers?: scalar|Param|null, // A list of TLS ciphers separated by colons, commas or spaces (e.g. "RC3-SHA:TLS13-AES-128-GCM-SHA256"...).
  545. * peer_fingerprint?: array{ // Associative array: hashing algorithm => hash(es).
  546. * sha1?: mixed,
  547. * pin-sha256?: mixed,
  548. * md5?: mixed,
  549. * },
  550. * crypto_method?: scalar|Param|null, // The minimum version of TLS to accept; must be one of STREAM_CRYPTO_METHOD_TLSv*_CLIENT constants.
  551. * extra?: array<string, mixed>,
  552. * rate_limiter?: scalar|Param|null, // Rate limiter name to use for throttling requests. // Default: null
  553. * caching?: bool|array{ // Caching configuration.
  554. * enabled?: bool|Param, // Default: false
  555. * cache_pool?: string|Param, // The taggable cache pool to use for storing the responses. // Default: "cache.http_client"
  556. * shared?: bool|Param, // Indicates whether the cache is shared (public) or private. // Default: true
  557. * max_ttl?: int|Param, // The maximum TTL (in seconds) allowed for cached responses. Null means no cap. // Default: null
  558. * },
  559. * retry_failed?: bool|array{
  560. * enabled?: bool|Param, // Default: false
  561. * retry_strategy?: scalar|Param|null, // service id to override the retry strategy. // Default: null
  562. * http_codes?: array<string, array{ // Default: []
  563. * code?: int|Param,
  564. * methods?: list<string|Param>,
  565. * }>,
  566. * max_retries?: int|Param, // Default: 3
  567. * delay?: int|Param, // Time in ms to delay (or the initial value when multiplier is used). // Default: 1000
  568. * multiplier?: float|Param, // If greater than 1, delay will grow exponentially for each retry: delay * (multiple ^ retries). // Default: 2
  569. * max_delay?: int|Param, // Max time in ms that a retry should ever be delayed (0 = infinite). // Default: 0
  570. * jitter?: float|Param, // Randomness in percent (between 0 and 1) to apply to the delay. // Default: 0.1
  571. * },
  572. * }>,
  573. * },
  574. * mailer?: bool|array{ // Mailer configuration
  575. * enabled?: bool|Param, // Default: true
  576. * message_bus?: scalar|Param|null, // The message bus to use. Defaults to the default bus if the Messenger component is installed. // Default: null
  577. * dsn?: scalar|Param|null, // Default: null
  578. * transports?: array<string, scalar|Param|null>,
  579. * envelope?: array{ // Mailer Envelope configuration
  580. * sender?: scalar|Param|null,
  581. * recipients?: list<scalar|Param|null>,
  582. * allowed_recipients?: list<scalar|Param|null>,
  583. * },
  584. * headers?: array<string, string|array{ // Default: []
  585. * value?: mixed,
  586. * }>,
  587. * dkim_signer?: bool|array{ // DKIM signer configuration
  588. * enabled?: bool|Param, // Default: false
  589. * key?: scalar|Param|null, // Key content, or path to key (in PEM format with the `file://` prefix) // Default: ""
  590. * domain?: scalar|Param|null, // Default: ""
  591. * select?: scalar|Param|null, // Default: ""
  592. * passphrase?: scalar|Param|null, // The private key passphrase // Default: ""
  593. * options?: array<string, mixed>,
  594. * },
  595. * smime_signer?: bool|array{ // S/MIME signer configuration
  596. * enabled?: bool|Param, // Default: false
  597. * key?: scalar|Param|null, // Path to key (in PEM format) // Default: ""
  598. * certificate?: scalar|Param|null, // Path to certificate (in PEM format without the `file://` prefix) // Default: ""
  599. * passphrase?: scalar|Param|null, // The private key passphrase // Default: null
  600. * extra_certificates?: scalar|Param|null, // Default: null
  601. * sign_options?: int|Param, // Default: null
  602. * },
  603. * smime_encrypter?: bool|array{ // S/MIME encrypter configuration
  604. * enabled?: bool|Param, // Default: false
  605. * repository?: scalar|Param|null, // S/MIME certificate repository service. This service shall implement the `Symfony\Component\Mailer\EventListener\SmimeCertificateRepositoryInterface`. // Default: ""
  606. * cipher?: int|Param, // A set of algorithms used to encrypt the message // Default: null
  607. * },
  608. * },
  609. * secrets?: bool|array{
  610. * enabled?: bool|Param, // Default: true
  611. * vault_directory?: scalar|Param|null, // Default: "%kernel.project_dir%/config/secrets/%kernel.runtime_environment%"
  612. * local_dotenv_file?: scalar|Param|null, // Default: "%kernel.project_dir%/.env.%kernel.environment%.local"
  613. * decryption_env_var?: scalar|Param|null, // Default: "base64:default::SYMFONY_DECRYPTION_SECRET"
  614. * },
  615. * notifier?: bool|array{ // Notifier configuration
  616. * enabled?: bool|Param, // Default: false
  617. * message_bus?: scalar|Param|null, // The message bus to use. Defaults to the default bus if the Messenger component is installed. // Default: null
  618. * chatter_transports?: array<string, scalar|Param|null>,
  619. * texter_transports?: array<string, scalar|Param|null>,
  620. * notification_on_failed_messages?: bool|Param, // Default: false
  621. * channel_policy?: array<string, string|list<scalar|Param|null>>,
  622. * admin_recipients?: list<array{ // Default: []
  623. * email?: scalar|Param|null,
  624. * phone?: scalar|Param|null, // Default: ""
  625. * }>,
  626. * },
  627. * rate_limiter?: bool|array{ // Rate limiter configuration
  628. * enabled?: bool|Param, // Default: false
  629. * limiters?: array<string, array{ // Default: []
  630. * lock_factory?: scalar|Param|null, // The service ID of the lock factory used by this limiter (or null to disable locking). // Default: "auto"
  631. * cache_pool?: scalar|Param|null, // The cache pool to use for storing the current limiter state. // Default: "cache.rate_limiter"
  632. * storage_service?: scalar|Param|null, // The service ID of a custom storage implementation, this precedes any configured "cache_pool". // Default: null
  633. * policy: "fixed_window"|"token_bucket"|"sliding_window"|"compound"|"no_limit"|Param, // The algorithm to be used by this limiter.
  634. * limiters?: list<scalar|Param|null>,
  635. * limit?: int|Param, // The maximum allowed hits in a fixed interval or burst.
  636. * 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).
  637. * rate?: array{ // Configures the fill rate if "policy" is set to "token_bucket".
  638. * 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).
  639. * amount?: int|Param, // Amount of tokens to add each interval. // Default: 1
  640. * },
  641. * }>,
  642. * },
  643. * uid?: bool|array{ // Uid configuration
  644. * enabled?: bool|Param, // Default: false
  645. * default_uuid_version?: 7|6|4|1|Param, // Default: 7
  646. * name_based_uuid_version?: 5|3|Param, // Default: 5
  647. * name_based_uuid_namespace?: scalar|Param|null,
  648. * time_based_uuid_version?: 7|6|1|Param, // Default: 7
  649. * time_based_uuid_node?: scalar|Param|null,
  650. * },
  651. * html_sanitizer?: bool|array{ // HtmlSanitizer configuration
  652. * enabled?: bool|Param, // Default: true
  653. * sanitizers?: array<string, array{ // Default: []
  654. * allow_safe_elements?: bool|Param, // Allows "safe" elements and attributes. // Default: false
  655. * allow_static_elements?: bool|Param, // Allows all static elements and attributes from the W3C Sanitizer API standard. // Default: false
  656. * allow_elements?: array<string, mixed>,
  657. * block_elements?: list<string|Param>,
  658. * drop_elements?: list<string|Param>,
  659. * allow_attributes?: array<string, mixed>,
  660. * drop_attributes?: array<string, mixed>,
  661. * force_attributes?: array<string, array<string, string|Param>>,
  662. * force_https_urls?: bool|Param, // Transforms URLs using the HTTP scheme to use the HTTPS scheme instead. // Default: false
  663. * allowed_link_schemes?: list<string|Param>,
  664. * allowed_link_hosts?: list<string|Param>|null,
  665. * allow_relative_links?: bool|Param, // Allows relative URLs to be used in links href attributes. // Default: false
  666. * allowed_media_schemes?: list<string|Param>,
  667. * allowed_media_hosts?: list<string|Param>|null,
  668. * allow_relative_medias?: bool|Param, // Allows relative URLs to be used in media source attributes (img, audio, video, ...). // Default: false
  669. * with_attribute_sanitizers?: list<string|Param>,
  670. * without_attribute_sanitizers?: list<string|Param>,
  671. * max_input_length?: int|Param, // The maximum length allowed for the sanitized input. // Default: 0
  672. * }>,
  673. * },
  674. * webhook?: bool|array{ // Webhook configuration
  675. * enabled?: bool|Param, // Default: false
  676. * message_bus?: scalar|Param|null, // The message bus to use. // Default: "messenger.default_bus"
  677. * routing?: array<string, array{ // Default: []
  678. * service: scalar|Param|null,
  679. * secret?: scalar|Param|null, // Default: ""
  680. * }>,
  681. * },
  682. * remote-event?: bool|array{ // RemoteEvent configuration
  683. * enabled?: bool|Param, // Default: false
  684. * },
  685. * json_streamer?: bool|array{ // JSON streamer configuration
  686. * enabled?: bool|Param, // Default: false
  687. * },
  688. * }
  689. * @psalm-type DoctrineConfig = array{
  690. * dbal?: array{
  691. * default_connection?: scalar|Param|null,
  692. * types?: array<string, string|array{ // Default: []
  693. * class: scalar|Param|null,
  694. * commented?: bool|Param, // Deprecated: The doctrine-bundle type commenting features were removed; the corresponding config parameter was deprecated in 2.0 and will be dropped in 3.0.
  695. * }>,
  696. * driver_schemes?: array<string, scalar|Param|null>,
  697. * connections?: array<string, array{ // Default: []
  698. * url?: scalar|Param|null, // A URL with connection information; any parameter value parsed from this string will override explicitly set parameters
  699. * dbname?: scalar|Param|null,
  700. * host?: scalar|Param|null, // Defaults to "localhost" at runtime.
  701. * port?: scalar|Param|null, // Defaults to null at runtime.
  702. * user?: scalar|Param|null, // Defaults to "root" at runtime.
  703. * password?: scalar|Param|null, // Defaults to null at runtime.
  704. * override_url?: bool|Param, // Deprecated: The "doctrine.dbal.override_url" configuration key is deprecated.
  705. * dbname_suffix?: scalar|Param|null, // Adds the given suffix to the configured database name, this option has no effects for the SQLite platform
  706. * application_name?: scalar|Param|null,
  707. * charset?: scalar|Param|null,
  708. * path?: scalar|Param|null,
  709. * memory?: bool|Param,
  710. * unix_socket?: scalar|Param|null, // The unix socket to use for MySQL
  711. * persistent?: bool|Param, // True to use as persistent connection for the ibm_db2 driver
  712. * protocol?: scalar|Param|null, // The protocol to use for the ibm_db2 driver (default to TCPIP if omitted)
  713. * service?: bool|Param, // True to use SERVICE_NAME as connection parameter instead of SID for Oracle
  714. * 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.
  715. * sessionMode?: scalar|Param|null, // The session mode to use for the oci8 driver
  716. * server?: scalar|Param|null, // The name of a running database server to connect to for SQL Anywhere.
  717. * default_dbname?: scalar|Param|null, // Override the default database (postgres) to connect to for PostgreSQL connexion.
  718. * sslmode?: scalar|Param|null, // Determines whether or with what priority a SSL TCP/IP connection will be negotiated with the server for PostgreSQL.
  719. * 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.
  720. * sslcert?: scalar|Param|null, // The path to the SSL client certificate file for PostgreSQL.
  721. * sslkey?: scalar|Param|null, // The path to the SSL client key file for PostgreSQL.
  722. * sslcrl?: scalar|Param|null, // The file name of the SSL certificate revocation list for PostgreSQL.
  723. * pooled?: bool|Param, // True to use a pooled server with the oci8/pdo_oracle driver
  724. * MultipleActiveResultSets?: bool|Param, // Configuring MultipleActiveResultSets for the pdo_sqlsrv driver
  725. * use_savepoints?: bool|Param, // Use savepoints for nested transactions
  726. * 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.
  727. * 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.
  728. * driver?: scalar|Param|null, // Default: "pdo_mysql"
  729. * platform_service?: scalar|Param|null, // Deprecated: The "platform_service" configuration key is deprecated since doctrine-bundle 2.9. DBAL 4 will not support setting a custom platform via connection params anymore.
  730. * auto_commit?: bool|Param,
  731. * schema_filter?: scalar|Param|null,
  732. * logging?: bool|Param, // Default: true
  733. * profiling?: bool|Param, // Default: true
  734. * profiling_collect_backtrace?: bool|Param, // Enables collecting backtraces when profiling is enabled // Default: false
  735. * profiling_collect_schema_errors?: bool|Param, // Enables collecting schema errors when profiling is enabled // Default: true
  736. * disable_type_comments?: bool|Param,
  737. * server_version?: scalar|Param|null,
  738. * idle_connection_ttl?: int|Param, // Default: 600
  739. * driver_class?: scalar|Param|null,
  740. * wrapper_class?: scalar|Param|null,
  741. * keep_slave?: bool|Param, // Deprecated: The "keep_slave" configuration key is deprecated since doctrine-bundle 2.2. Use the "keep_replica" configuration key instead.
  742. * keep_replica?: bool|Param,
  743. * options?: array<string, mixed>,
  744. * mapping_types?: array<string, scalar|Param|null>,
  745. * default_table_options?: array<string, scalar|Param|null>,
  746. * schema_manager_factory?: scalar|Param|null, // Default: "doctrine.dbal.default_schema_manager_factory"
  747. * result_cache?: scalar|Param|null,
  748. * slaves?: array<string, array{ // Default: []
  749. * url?: scalar|Param|null, // A URL with connection information; any parameter value parsed from this string will override explicitly set parameters
  750. * dbname?: scalar|Param|null,
  751. * host?: scalar|Param|null, // Defaults to "localhost" at runtime.
  752. * port?: scalar|Param|null, // Defaults to null at runtime.
  753. * user?: scalar|Param|null, // Defaults to "root" at runtime.
  754. * password?: scalar|Param|null, // Defaults to null at runtime.
  755. * override_url?: bool|Param, // Deprecated: The "doctrine.dbal.override_url" configuration key is deprecated.
  756. * dbname_suffix?: scalar|Param|null, // Adds the given suffix to the configured database name, this option has no effects for the SQLite platform
  757. * application_name?: scalar|Param|null,
  758. * charset?: scalar|Param|null,
  759. * path?: scalar|Param|null,
  760. * memory?: bool|Param,
  761. * unix_socket?: scalar|Param|null, // The unix socket to use for MySQL
  762. * persistent?: bool|Param, // True to use as persistent connection for the ibm_db2 driver
  763. * protocol?: scalar|Param|null, // The protocol to use for the ibm_db2 driver (default to TCPIP if omitted)
  764. * service?: bool|Param, // True to use SERVICE_NAME as connection parameter instead of SID for Oracle
  765. * 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.
  766. * sessionMode?: scalar|Param|null, // The session mode to use for the oci8 driver
  767. * server?: scalar|Param|null, // The name of a running database server to connect to for SQL Anywhere.
  768. * default_dbname?: scalar|Param|null, // Override the default database (postgres) to connect to for PostgreSQL connexion.
  769. * sslmode?: scalar|Param|null, // Determines whether or with what priority a SSL TCP/IP connection will be negotiated with the server for PostgreSQL.
  770. * 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.
  771. * sslcert?: scalar|Param|null, // The path to the SSL client certificate file for PostgreSQL.
  772. * sslkey?: scalar|Param|null, // The path to the SSL client key file for PostgreSQL.
  773. * sslcrl?: scalar|Param|null, // The file name of the SSL certificate revocation list for PostgreSQL.
  774. * pooled?: bool|Param, // True to use a pooled server with the oci8/pdo_oracle driver
  775. * MultipleActiveResultSets?: bool|Param, // Configuring MultipleActiveResultSets for the pdo_sqlsrv driver
  776. * use_savepoints?: bool|Param, // Use savepoints for nested transactions
  777. * 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.
  778. * 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.
  779. * }>,
  780. * replicas?: array<string, array{ // Default: []
  781. * url?: scalar|Param|null, // A URL with connection information; any parameter value parsed from this string will override explicitly set parameters
  782. * dbname?: scalar|Param|null,
  783. * host?: scalar|Param|null, // Defaults to "localhost" at runtime.
  784. * port?: scalar|Param|null, // Defaults to null at runtime.
  785. * user?: scalar|Param|null, // Defaults to "root" at runtime.
  786. * password?: scalar|Param|null, // Defaults to null at runtime.
  787. * override_url?: bool|Param, // Deprecated: The "doctrine.dbal.override_url" configuration key is deprecated.
  788. * dbname_suffix?: scalar|Param|null, // Adds the given suffix to the configured database name, this option has no effects for the SQLite platform
  789. * application_name?: scalar|Param|null,
  790. * charset?: scalar|Param|null,
  791. * path?: scalar|Param|null,
  792. * memory?: bool|Param,
  793. * unix_socket?: scalar|Param|null, // The unix socket to use for MySQL
  794. * persistent?: bool|Param, // True to use as persistent connection for the ibm_db2 driver
  795. * protocol?: scalar|Param|null, // The protocol to use for the ibm_db2 driver (default to TCPIP if omitted)
  796. * service?: bool|Param, // True to use SERVICE_NAME as connection parameter instead of SID for Oracle
  797. * 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.
  798. * sessionMode?: scalar|Param|null, // The session mode to use for the oci8 driver
  799. * server?: scalar|Param|null, // The name of a running database server to connect to for SQL Anywhere.
  800. * default_dbname?: scalar|Param|null, // Override the default database (postgres) to connect to for PostgreSQL connexion.
  801. * sslmode?: scalar|Param|null, // Determines whether or with what priority a SSL TCP/IP connection will be negotiated with the server for PostgreSQL.
  802. * 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.
  803. * sslcert?: scalar|Param|null, // The path to the SSL client certificate file for PostgreSQL.
  804. * sslkey?: scalar|Param|null, // The path to the SSL client key file for PostgreSQL.
  805. * sslcrl?: scalar|Param|null, // The file name of the SSL certificate revocation list for PostgreSQL.
  806. * pooled?: bool|Param, // True to use a pooled server with the oci8/pdo_oracle driver
  807. * MultipleActiveResultSets?: bool|Param, // Configuring MultipleActiveResultSets for the pdo_sqlsrv driver
  808. * use_savepoints?: bool|Param, // Use savepoints for nested transactions
  809. * 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.
  810. * 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.
  811. * }>,
  812. * }>,
  813. * },
  814. * orm?: array{
  815. * default_entity_manager?: scalar|Param|null,
  816. * auto_generate_proxy_classes?: scalar|Param|null, // Auto generate mode possible values are: "NEVER", "ALWAYS", "FILE_NOT_EXISTS", "EVAL", "FILE_NOT_EXISTS_OR_CHANGED", this option is ignored when the "enable_native_lazy_objects" option is true // Default: false
  817. * enable_lazy_ghost_objects?: bool|Param, // Enables the new implementation of proxies based on lazy ghosts instead of using the legacy implementation // Default: true
  818. * enable_native_lazy_objects?: bool|Param, // Enables the new native implementation of PHP lazy objects instead of generated proxies // Default: false
  819. * proxy_dir?: scalar|Param|null, // Configures the path where generated proxy classes are saved when using non-native lazy objects, this option is ignored when the "enable_native_lazy_objects" option is true // Default: "%kernel.build_dir%/doctrine/orm/Proxies"
  820. * proxy_namespace?: scalar|Param|null, // Defines the root namespace for generated proxy classes when using non-native lazy objects, this option is ignored when the "enable_native_lazy_objects" option is true // Default: "Proxies"
  821. * controller_resolver?: bool|array{
  822. * enabled?: bool|Param, // Default: true
  823. * auto_mapping?: bool|Param|null, // Set to false to disable using route placeholders as lookup criteria when the primary key doesn't match the argument name // Default: null
  824. * evict_cache?: bool|Param, // Set to true to fetch the entity from the database instead of using the cache, if any // Default: false
  825. * },
  826. * entity_managers?: array<string, array{ // Default: []
  827. * query_cache_driver?: string|array{
  828. * type?: scalar|Param|null, // Default: null
  829. * id?: scalar|Param|null,
  830. * pool?: scalar|Param|null,
  831. * },
  832. * metadata_cache_driver?: string|array{
  833. * type?: scalar|Param|null, // Default: null
  834. * id?: scalar|Param|null,
  835. * pool?: scalar|Param|null,
  836. * },
  837. * result_cache_driver?: string|array{
  838. * type?: scalar|Param|null, // Default: null
  839. * id?: scalar|Param|null,
  840. * pool?: scalar|Param|null,
  841. * },
  842. * entity_listeners?: array{
  843. * entities?: array<string, array{ // Default: []
  844. * listeners?: array<string, array{ // Default: []
  845. * events?: list<array{ // Default: []
  846. * type?: scalar|Param|null,
  847. * method?: scalar|Param|null, // Default: null
  848. * }>,
  849. * }>,
  850. * }>,
  851. * },
  852. * connection?: scalar|Param|null,
  853. * class_metadata_factory_name?: scalar|Param|null, // Default: "Doctrine\\ORM\\Mapping\\ClassMetadataFactory"
  854. * default_repository_class?: scalar|Param|null, // Default: "Doctrine\\ORM\\EntityRepository"
  855. * auto_mapping?: scalar|Param|null, // Default: false
  856. * naming_strategy?: scalar|Param|null, // Default: "doctrine.orm.naming_strategy.default"
  857. * quote_strategy?: scalar|Param|null, // Default: "doctrine.orm.quote_strategy.default"
  858. * typed_field_mapper?: scalar|Param|null, // Default: "doctrine.orm.typed_field_mapper.default"
  859. * entity_listener_resolver?: scalar|Param|null, // Default: null
  860. * fetch_mode_subselect_batch_size?: scalar|Param|null,
  861. * repository_factory?: scalar|Param|null, // Default: "doctrine.orm.container_repository_factory"
  862. * schema_ignore_classes?: list<scalar|Param|null>,
  863. * report_fields_where_declared?: bool|Param, // Set to "true" to opt-in to the new mapping driver mode that was added in Doctrine ORM 2.16 and will be mandatory in ORM 3.0. See https://github.com/doctrine/orm/pull/10455. // Default: true
  864. * 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. See https://github.com/doctrine/orm/pull/6728. // Default: false
  865. * second_level_cache?: array{
  866. * region_cache_driver?: string|array{
  867. * type?: scalar|Param|null, // Default: null
  868. * id?: scalar|Param|null,
  869. * pool?: scalar|Param|null,
  870. * },
  871. * region_lock_lifetime?: scalar|Param|null, // Default: 60
  872. * log_enabled?: bool|Param, // Default: true
  873. * region_lifetime?: scalar|Param|null, // Default: 3600
  874. * enabled?: bool|Param, // Default: true
  875. * factory?: scalar|Param|null,
  876. * regions?: array<string, array{ // Default: []
  877. * cache_driver?: string|array{
  878. * type?: scalar|Param|null, // Default: null
  879. * id?: scalar|Param|null,
  880. * pool?: scalar|Param|null,
  881. * },
  882. * lock_path?: scalar|Param|null, // Default: "%kernel.cache_dir%/doctrine/orm/slc/filelock"
  883. * lock_lifetime?: scalar|Param|null, // Default: 60
  884. * type?: scalar|Param|null, // Default: "default"
  885. * lifetime?: scalar|Param|null, // Default: 0
  886. * service?: scalar|Param|null,
  887. * name?: scalar|Param|null,
  888. * }>,
  889. * loggers?: array<string, array{ // Default: []
  890. * name?: scalar|Param|null,
  891. * service?: scalar|Param|null,
  892. * }>,
  893. * },
  894. * hydrators?: array<string, scalar|Param|null>,
  895. * mappings?: array<string, bool|string|array{ // Default: []
  896. * mapping?: scalar|Param|null, // Default: true
  897. * type?: scalar|Param|null,
  898. * dir?: scalar|Param|null,
  899. * alias?: scalar|Param|null,
  900. * prefix?: scalar|Param|null,
  901. * is_bundle?: bool|Param,
  902. * }>,
  903. * dql?: array{
  904. * string_functions?: array<string, scalar|Param|null>,
  905. * numeric_functions?: array<string, scalar|Param|null>,
  906. * datetime_functions?: array<string, scalar|Param|null>,
  907. * },
  908. * filters?: array<string, string|array{ // Default: []
  909. * class: scalar|Param|null,
  910. * enabled?: bool|Param, // Default: false
  911. * parameters?: array<string, mixed>,
  912. * }>,
  913. * identity_generation_preferences?: array<string, scalar|Param|null>,
  914. * }>,
  915. * resolve_target_entities?: array<string, scalar|Param|null>,
  916. * },
  917. * }
  918. * @psalm-type DoctrineMigrationsConfig = array{
  919. * enable_service_migrations?: bool|Param, // Whether to enable fetching migrations from the service container. // Default: false
  920. * migrations_paths?: array<string, scalar|Param|null>,
  921. * services?: array<string, scalar|Param|null>,
  922. * factories?: array<string, scalar|Param|null>,
  923. * storage?: array{ // Storage to use for migration status metadata.
  924. * table_storage?: array{ // The default metadata storage, implemented as a table in the database.
  925. * table_name?: scalar|Param|null, // Default: null
  926. * version_column_name?: scalar|Param|null, // Default: null
  927. * version_column_length?: scalar|Param|null, // Default: null
  928. * executed_at_column_name?: scalar|Param|null, // Default: null
  929. * execution_time_column_name?: scalar|Param|null, // Default: null
  930. * },
  931. * },
  932. * migrations?: list<scalar|Param|null>,
  933. * connection?: scalar|Param|null, // Connection name to use for the migrations database. // Default: null
  934. * em?: scalar|Param|null, // Entity manager name to use for the migrations database (available when doctrine/orm is installed). // Default: null
  935. * all_or_nothing?: scalar|Param|null, // Run all migrations in a transaction. // Default: false
  936. * 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
  937. * custom_template?: scalar|Param|null, // Custom template path for generated migration classes. // Default: null
  938. * organize_migrations?: scalar|Param|null, // Organize migrations mode. Possible values are: "BY_YEAR", "BY_YEAR_AND_MONTH", false // Default: false
  939. * 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
  940. * transactional?: bool|Param, // Whether or not to wrap migrations in a single transaction. // Default: true
  941. * }
  942. * @psalm-type SecurityConfig = array{
  943. * access_denied_url?: scalar|Param|null, // Default: null
  944. * session_fixation_strategy?: "none"|"migrate"|"invalidate"|Param, // Default: "migrate"
  945. * hide_user_not_found?: bool|Param, // Deprecated: The "hide_user_not_found" option is deprecated and will be removed in 8.0. Use the "expose_security_errors" option instead.
  946. * 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"
  947. * erase_credentials?: bool|Param, // Default: true
  948. * access_decision_manager?: array{
  949. * strategy?: "affirmative"|"consensus"|"unanimous"|"priority"|Param,
  950. * service?: scalar|Param|null,
  951. * strategy_service?: scalar|Param|null,
  952. * allow_if_all_abstain?: bool|Param, // Default: false
  953. * allow_if_equal_granted_denied?: bool|Param, // Default: true
  954. * },
  955. * password_hashers?: array<string, string|array{ // Default: []
  956. * algorithm?: scalar|Param|null,
  957. * migrate_from?: list<scalar|Param|null>,
  958. * 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"
  959. * key_length?: scalar|Param|null, // Default: 40
  960. * ignore_case?: bool|Param, // Default: false
  961. * encode_as_base64?: bool|Param, // Default: true
  962. * iterations?: scalar|Param|null, // Default: 5000
  963. * cost?: int|Param, // Default: null
  964. * memory_cost?: scalar|Param|null, // Default: null
  965. * time_cost?: scalar|Param|null, // Default: null
  966. * id?: scalar|Param|null,
  967. * }>,
  968. * providers?: array<string, array{ // Default: []
  969. * id?: scalar|Param|null,
  970. * chain?: array{
  971. * providers?: list<scalar|Param|null>,
  972. * },
  973. * entity?: array{
  974. * class: scalar|Param|null, // The full entity class name of your user class.
  975. * property?: scalar|Param|null, // Default: null
  976. * manager_name?: scalar|Param|null, // Default: null
  977. * },
  978. * memory?: array{
  979. * users?: array<string, array{ // Default: []
  980. * password?: scalar|Param|null, // Default: null
  981. * roles?: list<scalar|Param|null>,
  982. * }>,
  983. * },
  984. * ldap?: array{
  985. * service: scalar|Param|null,
  986. * base_dn: scalar|Param|null,
  987. * search_dn?: scalar|Param|null, // Default: null
  988. * search_password?: scalar|Param|null, // Default: null
  989. * extra_fields?: list<scalar|Param|null>,
  990. * default_roles?: list<scalar|Param|null>,
  991. * role_fetcher?: scalar|Param|null, // Default: null
  992. * uid_key?: scalar|Param|null, // Default: "sAMAccountName"
  993. * filter?: scalar|Param|null, // Default: "({uid_key}={user_identifier})"
  994. * password_attribute?: scalar|Param|null, // Default: null
  995. * },
  996. * }>,
  997. * firewalls: array<string, array{ // Default: []
  998. * pattern?: scalar|Param|null,
  999. * host?: scalar|Param|null,
  1000. * methods?: list<scalar|Param|null>,
  1001. * security?: bool|Param, // Default: true
  1002. * user_checker?: scalar|Param|null, // The UserChecker to use when authenticating users in this firewall. // Default: "security.user_checker"
  1003. * request_matcher?: scalar|Param|null,
  1004. * access_denied_url?: scalar|Param|null,
  1005. * access_denied_handler?: scalar|Param|null,
  1006. * entry_point?: scalar|Param|null, // An enabled authenticator name or a service id that implements "Symfony\Component\Security\Http\EntryPoint\AuthenticationEntryPointInterface".
  1007. * provider?: scalar|Param|null,
  1008. * stateless?: bool|Param, // Default: false
  1009. * lazy?: bool|Param, // Default: false
  1010. * context?: scalar|Param|null,
  1011. * logout?: array{
  1012. * enable_csrf?: bool|Param|null, // Default: null
  1013. * csrf_token_id?: scalar|Param|null, // Default: "logout"
  1014. * csrf_parameter?: scalar|Param|null, // Default: "_csrf_token"
  1015. * csrf_token_manager?: scalar|Param|null,
  1016. * path?: scalar|Param|null, // Default: "/logout"
  1017. * target?: scalar|Param|null, // Default: "/"
  1018. * invalidate_session?: bool|Param, // Default: true
  1019. * clear_site_data?: list<"*"|"cache"|"cookies"|"storage"|"executionContexts"|Param>,
  1020. * delete_cookies?: array<string, array{ // Default: []
  1021. * path?: scalar|Param|null, // Default: null
  1022. * domain?: scalar|Param|null, // Default: null
  1023. * secure?: scalar|Param|null, // Default: false
  1024. * samesite?: scalar|Param|null, // Default: null
  1025. * partitioned?: scalar|Param|null, // Default: false
  1026. * }>,
  1027. * },
  1028. * switch_user?: array{
  1029. * provider?: scalar|Param|null,
  1030. * parameter?: scalar|Param|null, // Default: "_switch_user"
  1031. * role?: scalar|Param|null, // Default: "ROLE_ALLOWED_TO_SWITCH"
  1032. * target_route?: scalar|Param|null, // Default: null
  1033. * },
  1034. * required_badges?: list<scalar|Param|null>,
  1035. * custom_authenticators?: list<scalar|Param|null>,
  1036. * login_throttling?: array{
  1037. * limiter?: scalar|Param|null, // A service id implementing "Symfony\Component\HttpFoundation\RateLimiter\RequestRateLimiterInterface".
  1038. * max_attempts?: int|Param, // Default: 5
  1039. * interval?: scalar|Param|null, // Default: "1 minute"
  1040. * lock_factory?: scalar|Param|null, // The service ID of the lock factory used by the login rate limiter (or null to disable locking). // Default: null
  1041. * cache_pool?: string|Param, // The cache pool to use for storing the limiter state // Default: "cache.rate_limiter"
  1042. * storage_service?: string|Param, // The service ID of a custom storage implementation, this precedes any configured "cache_pool" // Default: null
  1043. * },
  1044. * x509?: array{
  1045. * provider?: scalar|Param|null,
  1046. * user?: scalar|Param|null, // Default: "SSL_CLIENT_S_DN_Email"
  1047. * credentials?: scalar|Param|null, // Default: "SSL_CLIENT_S_DN"
  1048. * user_identifier?: scalar|Param|null, // Default: "emailAddress"
  1049. * },
  1050. * remote_user?: array{
  1051. * provider?: scalar|Param|null,
  1052. * user?: scalar|Param|null, // Default: "REMOTE_USER"
  1053. * },
  1054. * login_link?: array{
  1055. * check_route: scalar|Param|null, // Route that will validate the login link - e.g. "app_login_link_verify".
  1056. * check_post_only?: scalar|Param|null, // If true, only HTTP POST requests to "check_route" will be handled by the authenticator. // Default: false
  1057. * signature_properties: list<scalar|Param|null>,
  1058. * lifetime?: int|Param, // The lifetime of the login link in seconds. // Default: 600
  1059. * max_uses?: int|Param, // Max number of times a login link can be used - null means unlimited within lifetime. // Default: null
  1060. * used_link_cache?: scalar|Param|null, // Cache service id used to expired links of max_uses is set.
  1061. * success_handler?: scalar|Param|null, // A service id that implements Symfony\Component\Security\Http\Authentication\AuthenticationSuccessHandlerInterface.
  1062. * failure_handler?: scalar|Param|null, // A service id that implements Symfony\Component\Security\Http\Authentication\AuthenticationFailureHandlerInterface.
  1063. * provider?: scalar|Param|null, // The user provider to load users from.
  1064. * secret?: scalar|Param|null, // Default: "%kernel.secret%"
  1065. * always_use_default_target_path?: bool|Param, // Default: false
  1066. * default_target_path?: scalar|Param|null, // Default: "/"
  1067. * login_path?: scalar|Param|null, // Default: "/login"
  1068. * target_path_parameter?: scalar|Param|null, // Default: "_target_path"
  1069. * use_referer?: bool|Param, // Default: false
  1070. * failure_path?: scalar|Param|null, // Default: null
  1071. * failure_forward?: bool|Param, // Default: false
  1072. * failure_path_parameter?: scalar|Param|null, // Default: "_failure_path"
  1073. * },
  1074. * form_login?: array{
  1075. * provider?: scalar|Param|null,
  1076. * remember_me?: bool|Param, // Default: true
  1077. * success_handler?: scalar|Param|null,
  1078. * failure_handler?: scalar|Param|null,
  1079. * check_path?: scalar|Param|null, // Default: "/login_check"
  1080. * use_forward?: bool|Param, // Default: false
  1081. * login_path?: scalar|Param|null, // Default: "/login"
  1082. * username_parameter?: scalar|Param|null, // Default: "_username"
  1083. * password_parameter?: scalar|Param|null, // Default: "_password"
  1084. * csrf_parameter?: scalar|Param|null, // Default: "_csrf_token"
  1085. * csrf_token_id?: scalar|Param|null, // Default: "authenticate"
  1086. * enable_csrf?: bool|Param, // Default: false
  1087. * post_only?: bool|Param, // Default: true
  1088. * form_only?: bool|Param, // Default: false
  1089. * always_use_default_target_path?: bool|Param, // Default: false
  1090. * default_target_path?: scalar|Param|null, // Default: "/"
  1091. * target_path_parameter?: scalar|Param|null, // Default: "_target_path"
  1092. * use_referer?: bool|Param, // Default: false
  1093. * failure_path?: scalar|Param|null, // Default: null
  1094. * failure_forward?: bool|Param, // Default: false
  1095. * failure_path_parameter?: scalar|Param|null, // Default: "_failure_path"
  1096. * },
  1097. * form_login_ldap?: array{
  1098. * provider?: scalar|Param|null,
  1099. * remember_me?: bool|Param, // Default: true
  1100. * success_handler?: scalar|Param|null,
  1101. * failure_handler?: scalar|Param|null,
  1102. * check_path?: scalar|Param|null, // Default: "/login_check"
  1103. * use_forward?: bool|Param, // Default: false
  1104. * login_path?: scalar|Param|null, // Default: "/login"
  1105. * username_parameter?: scalar|Param|null, // Default: "_username"
  1106. * password_parameter?: scalar|Param|null, // Default: "_password"
  1107. * csrf_parameter?: scalar|Param|null, // Default: "_csrf_token"
  1108. * csrf_token_id?: scalar|Param|null, // Default: "authenticate"
  1109. * enable_csrf?: bool|Param, // Default: false
  1110. * post_only?: bool|Param, // Default: true
  1111. * form_only?: bool|Param, // Default: false
  1112. * always_use_default_target_path?: bool|Param, // Default: false
  1113. * default_target_path?: scalar|Param|null, // Default: "/"
  1114. * target_path_parameter?: scalar|Param|null, // Default: "_target_path"
  1115. * use_referer?: bool|Param, // Default: false
  1116. * failure_path?: scalar|Param|null, // Default: null
  1117. * failure_forward?: bool|Param, // Default: false
  1118. * failure_path_parameter?: scalar|Param|null, // Default: "_failure_path"
  1119. * service?: scalar|Param|null, // Default: "ldap"
  1120. * dn_string?: scalar|Param|null, // Default: "{user_identifier}"
  1121. * query_string?: scalar|Param|null,
  1122. * search_dn?: scalar|Param|null, // Default: ""
  1123. * search_password?: scalar|Param|null, // Default: ""
  1124. * },
  1125. * json_login?: array{
  1126. * provider?: scalar|Param|null,
  1127. * remember_me?: bool|Param, // Default: true
  1128. * success_handler?: scalar|Param|null,
  1129. * failure_handler?: scalar|Param|null,
  1130. * check_path?: scalar|Param|null, // Default: "/login_check"
  1131. * use_forward?: bool|Param, // Default: false
  1132. * login_path?: scalar|Param|null, // Default: "/login"
  1133. * username_path?: scalar|Param|null, // Default: "username"
  1134. * password_path?: scalar|Param|null, // Default: "password"
  1135. * },
  1136. * json_login_ldap?: array{
  1137. * provider?: scalar|Param|null,
  1138. * remember_me?: bool|Param, // Default: true
  1139. * success_handler?: scalar|Param|null,
  1140. * failure_handler?: scalar|Param|null,
  1141. * check_path?: scalar|Param|null, // Default: "/login_check"
  1142. * use_forward?: bool|Param, // Default: false
  1143. * login_path?: scalar|Param|null, // Default: "/login"
  1144. * username_path?: scalar|Param|null, // Default: "username"
  1145. * password_path?: scalar|Param|null, // Default: "password"
  1146. * service?: scalar|Param|null, // Default: "ldap"
  1147. * dn_string?: scalar|Param|null, // Default: "{user_identifier}"
  1148. * query_string?: scalar|Param|null,
  1149. * search_dn?: scalar|Param|null, // Default: ""
  1150. * search_password?: scalar|Param|null, // Default: ""
  1151. * },
  1152. * access_token?: array{
  1153. * provider?: scalar|Param|null,
  1154. * remember_me?: bool|Param, // Default: true
  1155. * success_handler?: scalar|Param|null,
  1156. * failure_handler?: scalar|Param|null,
  1157. * realm?: scalar|Param|null, // Default: null
  1158. * token_extractors?: list<scalar|Param|null>,
  1159. * token_handler: string|array{
  1160. * id?: scalar|Param|null,
  1161. * oidc_user_info?: string|array{
  1162. * 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).
  1163. * discovery?: array{ // Enable the OIDC discovery.
  1164. * cache?: array{
  1165. * id: scalar|Param|null, // Cache service id to use to cache the OIDC discovery configuration.
  1166. * },
  1167. * },
  1168. * claim?: scalar|Param|null, // Claim which contains the user identifier (e.g. sub, email, etc.). // Default: "sub"
  1169. * client?: scalar|Param|null, // HttpClient service id to use to call the OIDC server.
  1170. * },
  1171. * oidc?: array{
  1172. * discovery?: array{ // Enable the OIDC discovery.
  1173. * base_uri: list<scalar|Param|null>,
  1174. * cache?: array{
  1175. * id: scalar|Param|null, // Cache service id to use to cache the OIDC discovery configuration.
  1176. * },
  1177. * },
  1178. * claim?: scalar|Param|null, // Claim which contains the user identifier (e.g.: sub, email..). // Default: "sub"
  1179. * audience: scalar|Param|null, // Audience set in the token, for validation purpose.
  1180. * issuers: list<scalar|Param|null>,
  1181. * algorithm?: array<mixed>,
  1182. * algorithms: list<scalar|Param|null>,
  1183. * key?: scalar|Param|null, // Deprecated: The "key" option is deprecated and will be removed in 8.0. Use the "keyset" option instead. // JSON-encoded JWK used to sign the token (must contain a "kty" key).
  1184. * keyset?: scalar|Param|null, // JSON-encoded JWKSet used to sign the token (must contain a list of valid public keys).
  1185. * encryption?: bool|array{
  1186. * enabled?: bool|Param, // Default: false
  1187. * enforce?: bool|Param, // When enabled, the token shall be encrypted. // Default: false
  1188. * algorithms: list<scalar|Param|null>,
  1189. * keyset: scalar|Param|null, // JSON-encoded JWKSet used to decrypt the token (must contain a list of valid private keys).
  1190. * },
  1191. * },
  1192. * cas?: array{
  1193. * validation_url: scalar|Param|null, // CAS server validation URL
  1194. * prefix?: scalar|Param|null, // CAS prefix // Default: "cas"
  1195. * http_client?: scalar|Param|null, // HTTP Client service // Default: null
  1196. * },
  1197. * oauth2?: scalar|Param|null,
  1198. * },
  1199. * },
  1200. * http_basic?: array{
  1201. * provider?: scalar|Param|null,
  1202. * realm?: scalar|Param|null, // Default: "Secured Area"
  1203. * },
  1204. * http_basic_ldap?: array{
  1205. * provider?: scalar|Param|null,
  1206. * realm?: scalar|Param|null, // Default: "Secured Area"
  1207. * service?: scalar|Param|null, // Default: "ldap"
  1208. * dn_string?: scalar|Param|null, // Default: "{user_identifier}"
  1209. * query_string?: scalar|Param|null,
  1210. * search_dn?: scalar|Param|null, // Default: ""
  1211. * search_password?: scalar|Param|null, // Default: ""
  1212. * },
  1213. * remember_me?: array{
  1214. * secret?: scalar|Param|null, // Default: "%kernel.secret%"
  1215. * service?: scalar|Param|null,
  1216. * user_providers?: list<scalar|Param|null>,
  1217. * catch_exceptions?: bool|Param, // Default: true
  1218. * signature_properties?: list<scalar|Param|null>,
  1219. * token_provider?: string|array{
  1220. * service?: scalar|Param|null, // The service ID of a custom remember-me token provider.
  1221. * doctrine?: bool|array{
  1222. * enabled?: bool|Param, // Default: false
  1223. * connection?: scalar|Param|null, // Default: null
  1224. * },
  1225. * },
  1226. * token_verifier?: scalar|Param|null, // The service ID of a custom rememberme token verifier.
  1227. * name?: scalar|Param|null, // Default: "REMEMBERME"
  1228. * lifetime?: int|Param, // Default: 31536000
  1229. * path?: scalar|Param|null, // Default: "/"
  1230. * domain?: scalar|Param|null, // Default: null
  1231. * secure?: true|false|"auto"|Param, // Default: false
  1232. * httponly?: bool|Param, // Default: true
  1233. * samesite?: null|"lax"|"strict"|"none"|Param, // Default: null
  1234. * always_remember_me?: bool|Param, // Default: false
  1235. * remember_me_parameter?: scalar|Param|null, // Default: "_remember_me"
  1236. * },
  1237. * }>,
  1238. * access_control?: list<array{ // Default: []
  1239. * request_matcher?: scalar|Param|null, // Default: null
  1240. * requires_channel?: scalar|Param|null, // Default: null
  1241. * path?: scalar|Param|null, // Use the urldecoded format. // Default: null
  1242. * host?: scalar|Param|null, // Default: null
  1243. * port?: int|Param, // Default: null
  1244. * ips?: list<scalar|Param|null>,
  1245. * attributes?: array<string, scalar|Param|null>,
  1246. * route?: scalar|Param|null, // Default: null
  1247. * methods?: list<scalar|Param|null>,
  1248. * allow_if?: scalar|Param|null, // Default: null
  1249. * roles?: list<scalar|Param|null>,
  1250. * }>,
  1251. * role_hierarchy?: array<string, string|list<scalar|Param|null>>,
  1252. * }
  1253. * @psalm-type TwigConfig = array{
  1254. * form_themes?: list<scalar|Param|null>,
  1255. * globals?: array<string, array{ // Default: []
  1256. * id?: scalar|Param|null,
  1257. * type?: scalar|Param|null,
  1258. * value?: mixed,
  1259. * }>,
  1260. * autoescape_service?: scalar|Param|null, // Default: null
  1261. * autoescape_service_method?: scalar|Param|null, // Default: null
  1262. * base_template_class?: scalar|Param|null, // Deprecated: The child node "base_template_class" at path "twig.base_template_class" is deprecated.
  1263. * cache?: scalar|Param|null, // Default: true
  1264. * charset?: scalar|Param|null, // Default: "%kernel.charset%"
  1265. * debug?: bool|Param, // Default: "%kernel.debug%"
  1266. * strict_variables?: bool|Param, // Default: "%kernel.debug%"
  1267. * auto_reload?: scalar|Param|null,
  1268. * optimizations?: int|Param,
  1269. * default_path?: scalar|Param|null, // The default path used to load templates. // Default: "%kernel.project_dir%/templates"
  1270. * file_name_pattern?: list<scalar|Param|null>,
  1271. * paths?: array<string, mixed>,
  1272. * date?: array{ // The default format options used by the date filter.
  1273. * format?: scalar|Param|null, // Default: "F j, Y H:i"
  1274. * interval_format?: scalar|Param|null, // Default: "%d days"
  1275. * 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
  1276. * },
  1277. * number_format?: array{ // The default format options for the number_format filter.
  1278. * decimals?: int|Param, // Default: 0
  1279. * decimal_point?: scalar|Param|null, // Default: "."
  1280. * thousands_separator?: scalar|Param|null, // Default: ","
  1281. * },
  1282. * mailer?: array{
  1283. * html_to_text_converter?: scalar|Param|null, // A service implementing the "Symfony\Component\Mime\HtmlToTextConverter\HtmlToTextConverterInterface". // Default: null
  1284. * },
  1285. * }
  1286. * @psalm-type WebProfilerConfig = array{
  1287. * toolbar?: bool|array{ // Profiler toolbar configuration
  1288. * enabled?: bool|Param, // Default: false
  1289. * ajax_replace?: bool|Param, // Replace toolbar on AJAX requests // Default: false
  1290. * },
  1291. * intercept_redirects?: bool|Param, // Default: false
  1292. * excluded_ajax_paths?: scalar|Param|null, // Default: "^/((index|app(_[\\w]+)?)\\.php/)?_wdt"
  1293. * }
  1294. * @psalm-type MonologConfig = array{
  1295. * use_microseconds?: scalar|Param|null, // Default: true
  1296. * channels?: list<scalar|Param|null>,
  1297. * handlers?: array<string, array{ // Default: []
  1298. * type: scalar|Param|null,
  1299. * id?: scalar|Param|null,
  1300. * enabled?: bool|Param, // Default: true
  1301. * priority?: scalar|Param|null, // Default: 0
  1302. * level?: scalar|Param|null, // Default: "DEBUG"
  1303. * bubble?: bool|Param, // Default: true
  1304. * interactive_only?: bool|Param, // Default: false
  1305. * app_name?: scalar|Param|null, // Default: null
  1306. * fill_extra_context?: bool|Param, // Default: false
  1307. * include_stacktraces?: bool|Param, // Default: false
  1308. * process_psr_3_messages?: array{
  1309. * enabled?: bool|Param|null, // Default: null
  1310. * date_format?: scalar|Param|null,
  1311. * remove_used_context_fields?: bool|Param,
  1312. * },
  1313. * path?: scalar|Param|null, // Default: "%kernel.logs_dir%/%kernel.environment%.log"
  1314. * file_permission?: scalar|Param|null, // Default: null
  1315. * use_locking?: bool|Param, // Default: false
  1316. * filename_format?: scalar|Param|null, // Default: "{filename}-{date}"
  1317. * date_format?: scalar|Param|null, // Default: "Y-m-d"
  1318. * ident?: scalar|Param|null, // Default: false
  1319. * logopts?: scalar|Param|null, // Default: 1
  1320. * facility?: scalar|Param|null, // Default: "user"
  1321. * max_files?: scalar|Param|null, // Default: 0
  1322. * action_level?: scalar|Param|null, // Default: "WARNING"
  1323. * activation_strategy?: scalar|Param|null, // Default: null
  1324. * stop_buffering?: bool|Param, // Default: true
  1325. * passthru_level?: scalar|Param|null, // Default: null
  1326. * excluded_404s?: list<scalar|Param|null>,
  1327. * excluded_http_codes?: list<array{ // Default: []
  1328. * code?: scalar|Param|null,
  1329. * urls?: list<scalar|Param|null>,
  1330. * }>,
  1331. * accepted_levels?: list<scalar|Param|null>,
  1332. * min_level?: scalar|Param|null, // Default: "DEBUG"
  1333. * max_level?: scalar|Param|null, // Default: "EMERGENCY"
  1334. * buffer_size?: scalar|Param|null, // Default: 0
  1335. * flush_on_overflow?: bool|Param, // Default: false
  1336. * handler?: scalar|Param|null,
  1337. * url?: scalar|Param|null,
  1338. * exchange?: scalar|Param|null,
  1339. * exchange_name?: scalar|Param|null, // Default: "log"
  1340. * room?: scalar|Param|null,
  1341. * message_format?: scalar|Param|null, // Default: "text"
  1342. * api_version?: scalar|Param|null, // Default: null
  1343. * channel?: scalar|Param|null, // Default: null
  1344. * bot_name?: scalar|Param|null, // Default: "Monolog"
  1345. * use_attachment?: scalar|Param|null, // Default: true
  1346. * use_short_attachment?: scalar|Param|null, // Default: false
  1347. * include_extra?: scalar|Param|null, // Default: false
  1348. * icon_emoji?: scalar|Param|null, // Default: null
  1349. * webhook_url?: scalar|Param|null,
  1350. * exclude_fields?: list<scalar|Param|null>,
  1351. * team?: scalar|Param|null,
  1352. * notify?: scalar|Param|null, // Default: false
  1353. * nickname?: scalar|Param|null, // Default: "Monolog"
  1354. * token?: scalar|Param|null,
  1355. * region?: scalar|Param|null,
  1356. * source?: scalar|Param|null,
  1357. * use_ssl?: bool|Param, // Default: true
  1358. * user?: mixed,
  1359. * title?: scalar|Param|null, // Default: null
  1360. * host?: scalar|Param|null, // Default: null
  1361. * port?: scalar|Param|null, // Default: 514
  1362. * config?: list<scalar|Param|null>,
  1363. * members?: list<scalar|Param|null>,
  1364. * connection_string?: scalar|Param|null,
  1365. * timeout?: scalar|Param|null,
  1366. * time?: scalar|Param|null, // Default: 60
  1367. * deduplication_level?: scalar|Param|null, // Default: 400
  1368. * store?: scalar|Param|null, // Default: null
  1369. * connection_timeout?: scalar|Param|null,
  1370. * persistent?: bool|Param,
  1371. * dsn?: scalar|Param|null,
  1372. * hub_id?: scalar|Param|null, // Default: null
  1373. * client_id?: scalar|Param|null, // Default: null
  1374. * auto_log_stacks?: scalar|Param|null, // Default: false
  1375. * release?: scalar|Param|null, // Default: null
  1376. * environment?: scalar|Param|null, // Default: null
  1377. * message_type?: scalar|Param|null, // Default: 0
  1378. * parse_mode?: scalar|Param|null, // Default: null
  1379. * disable_webpage_preview?: bool|Param|null, // Default: null
  1380. * disable_notification?: bool|Param|null, // Default: null
  1381. * split_long_messages?: bool|Param, // Default: false
  1382. * delay_between_messages?: bool|Param, // Default: false
  1383. * topic?: int|Param, // Default: null
  1384. * factor?: int|Param, // Default: 1
  1385. * tags?: list<scalar|Param|null>,
  1386. * console_formater_options?: mixed, // Deprecated: "monolog.handlers..console_formater_options.console_formater_options" is deprecated, use "monolog.handlers..console_formater_options.console_formatter_options" instead.
  1387. * console_formatter_options?: mixed, // Default: []
  1388. * formatter?: scalar|Param|null,
  1389. * nested?: bool|Param, // Default: false
  1390. * publisher?: string|array{
  1391. * id?: scalar|Param|null,
  1392. * hostname?: scalar|Param|null,
  1393. * port?: scalar|Param|null, // Default: 12201
  1394. * chunk_size?: scalar|Param|null, // Default: 1420
  1395. * encoder?: "json"|"compressed_json"|Param,
  1396. * },
  1397. * mongo?: string|array{
  1398. * id?: scalar|Param|null,
  1399. * host?: scalar|Param|null,
  1400. * port?: scalar|Param|null, // Default: 27017
  1401. * user?: scalar|Param|null,
  1402. * pass?: scalar|Param|null,
  1403. * database?: scalar|Param|null, // Default: "monolog"
  1404. * collection?: scalar|Param|null, // Default: "logs"
  1405. * },
  1406. * mongodb?: string|array{
  1407. * id?: scalar|Param|null, // ID of a MongoDB\Client service
  1408. * uri?: scalar|Param|null,
  1409. * username?: scalar|Param|null,
  1410. * password?: scalar|Param|null,
  1411. * database?: scalar|Param|null, // Default: "monolog"
  1412. * collection?: scalar|Param|null, // Default: "logs"
  1413. * },
  1414. * elasticsearch?: string|array{
  1415. * id?: scalar|Param|null,
  1416. * hosts?: list<scalar|Param|null>,
  1417. * host?: scalar|Param|null,
  1418. * port?: scalar|Param|null, // Default: 9200
  1419. * transport?: scalar|Param|null, // Default: "Http"
  1420. * user?: scalar|Param|null, // Default: null
  1421. * password?: scalar|Param|null, // Default: null
  1422. * },
  1423. * index?: scalar|Param|null, // Default: "monolog"
  1424. * document_type?: scalar|Param|null, // Default: "logs"
  1425. * ignore_error?: scalar|Param|null, // Default: false
  1426. * redis?: string|array{
  1427. * id?: scalar|Param|null,
  1428. * host?: scalar|Param|null,
  1429. * password?: scalar|Param|null, // Default: null
  1430. * port?: scalar|Param|null, // Default: 6379
  1431. * database?: scalar|Param|null, // Default: 0
  1432. * key_name?: scalar|Param|null, // Default: "monolog_redis"
  1433. * },
  1434. * predis?: string|array{
  1435. * id?: scalar|Param|null,
  1436. * host?: scalar|Param|null,
  1437. * },
  1438. * from_email?: scalar|Param|null,
  1439. * to_email?: list<scalar|Param|null>,
  1440. * subject?: scalar|Param|null,
  1441. * content_type?: scalar|Param|null, // Default: null
  1442. * headers?: list<scalar|Param|null>,
  1443. * mailer?: scalar|Param|null, // Default: null
  1444. * email_prototype?: string|array{
  1445. * id: scalar|Param|null,
  1446. * method?: scalar|Param|null, // Default: null
  1447. * },
  1448. * lazy?: bool|Param, // Default: true
  1449. * verbosity_levels?: array{
  1450. * VERBOSITY_QUIET?: scalar|Param|null, // Default: "ERROR"
  1451. * VERBOSITY_NORMAL?: scalar|Param|null, // Default: "WARNING"
  1452. * VERBOSITY_VERBOSE?: scalar|Param|null, // Default: "NOTICE"
  1453. * VERBOSITY_VERY_VERBOSE?: scalar|Param|null, // Default: "INFO"
  1454. * VERBOSITY_DEBUG?: scalar|Param|null, // Default: "DEBUG"
  1455. * },
  1456. * channels?: string|array{
  1457. * type?: scalar|Param|null,
  1458. * elements?: list<scalar|Param|null>,
  1459. * },
  1460. * }>,
  1461. * }
  1462. * @psalm-type MakerConfig = array{
  1463. * root_namespace?: scalar|Param|null, // Default: "App"
  1464. * generate_final_classes?: bool|Param, // Default: true
  1465. * generate_final_entities?: bool|Param, // Default: false
  1466. * }
  1467. * @psalm-type WebpackEncoreConfig = array{
  1468. * output_path: scalar|Param|null, // The path where Encore is building the assets - i.e. Encore.setOutputPath()
  1469. * crossorigin?: false|"anonymous"|"use-credentials"|Param, // crossorigin value when Encore.enableIntegrityHashes() is used, can be false (default), anonymous or use-credentials // Default: false
  1470. * preload?: bool|Param, // preload all rendered script and link tags automatically via the http2 Link header. // Default: false
  1471. * cache?: bool|Param, // Enable caching of the entry point file(s) // Default: false
  1472. * strict_mode?: bool|Param, // Throw an exception if the entrypoints.json file is missing or an entry is missing from the data // Default: true
  1473. * builds?: array<string, scalar|Param|null>,
  1474. * script_attributes?: array<string, scalar|Param|null>,
  1475. * link_attributes?: array<string, scalar|Param|null>,
  1476. * }
  1477. * @psalm-type DebugConfig = array{
  1478. * max_items?: int|Param, // Max number of displayed items past the first level, -1 means no limit. // Default: 2500
  1479. * min_depth?: int|Param, // Minimum tree depth to clone all the items, 1 is default. // Default: 1
  1480. * max_string_length?: int|Param, // Max length of displayed strings, -1 means no limit. // Default: -1
  1481. * dump_destination?: scalar|Param|null, // A stream URL where dumps should be written to. // Default: null
  1482. * theme?: "dark"|"light"|Param, // Changes the color of the dump() output when rendered directly on the templating. "dark" (default) or "light". // Default: "dark"
  1483. * }
  1484. * @psalm-type TwigExtraConfig = array{
  1485. * cache?: bool|array{
  1486. * enabled?: bool|Param, // Default: false
  1487. * },
  1488. * html?: bool|array{
  1489. * enabled?: bool|Param, // Default: false
  1490. * },
  1491. * markdown?: bool|array{
  1492. * enabled?: bool|Param, // Default: true
  1493. * },
  1494. * intl?: bool|array{
  1495. * enabled?: bool|Param, // Default: false
  1496. * },
  1497. * cssinliner?: bool|array{
  1498. * enabled?: bool|Param, // Default: false
  1499. * },
  1500. * inky?: bool|array{
  1501. * enabled?: bool|Param, // Default: false
  1502. * },
  1503. * string?: bool|array{
  1504. * enabled?: bool|Param, // Default: false
  1505. * },
  1506. * commonmark?: array{
  1507. * renderer?: array{ // Array of options for rendering HTML.
  1508. * block_separator?: scalar|Param|null,
  1509. * inner_separator?: scalar|Param|null,
  1510. * soft_break?: scalar|Param|null,
  1511. * },
  1512. * html_input?: "strip"|"allow"|"escape"|Param, // How to handle HTML input.
  1513. * allow_unsafe_links?: bool|Param, // Remove risky link and image URLs by setting this to false. // Default: true
  1514. * max_nesting_level?: int|Param, // The maximum nesting level for blocks. // Default: 9223372036854775807
  1515. * max_delimiters_per_line?: int|Param, // The maximum number of strong/emphasis delimiters per line. // Default: 9223372036854775807
  1516. * slug_normalizer?: array{ // Array of options for configuring how URL-safe slugs are created.
  1517. * instance?: mixed,
  1518. * max_length?: int|Param, // Default: 255
  1519. * unique?: mixed,
  1520. * },
  1521. * commonmark?: array{ // Array of options for configuring the CommonMark core extension.
  1522. * enable_em?: bool|Param, // Default: true
  1523. * enable_strong?: bool|Param, // Default: true
  1524. * use_asterisk?: bool|Param, // Default: true
  1525. * use_underscore?: bool|Param, // Default: true
  1526. * unordered_list_markers?: list<scalar|Param|null>,
  1527. * },
  1528. * ...<mixed>
  1529. * },
  1530. * }
  1531. * @psalm-type StimulusConfig = array{
  1532. * controller_paths?: list<scalar|Param|null>,
  1533. * controllers_json?: scalar|Param|null, // Default: "%kernel.project_dir%/assets/controllers.json"
  1534. * }
  1535. * @psalm-type ConfigType = array{
  1536. * imports?: ImportsConfig,
  1537. * parameters?: ParametersConfig,
  1538. * services?: ServicesConfig,
  1539. * framework?: FrameworkConfig,
  1540. * doctrine?: DoctrineConfig,
  1541. * doctrine_migrations?: DoctrineMigrationsConfig,
  1542. * security?: SecurityConfig,
  1543. * twig?: TwigConfig,
  1544. * monolog?: MonologConfig,
  1545. * webpack_encore?: WebpackEncoreConfig,
  1546. * twig_extra?: TwigExtraConfig,
  1547. * stimulus?: StimulusConfig,
  1548. * "when@dev"?: array{
  1549. * imports?: ImportsConfig,
  1550. * parameters?: ParametersConfig,
  1551. * services?: ServicesConfig,
  1552. * framework?: FrameworkConfig,
  1553. * doctrine?: DoctrineConfig,
  1554. * doctrine_migrations?: DoctrineMigrationsConfig,
  1555. * security?: SecurityConfig,
  1556. * twig?: TwigConfig,
  1557. * web_profiler?: WebProfilerConfig,
  1558. * monolog?: MonologConfig,
  1559. * maker?: MakerConfig,
  1560. * webpack_encore?: WebpackEncoreConfig,
  1561. * debug?: DebugConfig,
  1562. * twig_extra?: TwigExtraConfig,
  1563. * stimulus?: StimulusConfig,
  1564. * },
  1565. * "when@prod"?: array{
  1566. * imports?: ImportsConfig,
  1567. * parameters?: ParametersConfig,
  1568. * services?: ServicesConfig,
  1569. * framework?: FrameworkConfig,
  1570. * doctrine?: DoctrineConfig,
  1571. * doctrine_migrations?: DoctrineMigrationsConfig,
  1572. * security?: SecurityConfig,
  1573. * twig?: TwigConfig,
  1574. * monolog?: MonologConfig,
  1575. * webpack_encore?: WebpackEncoreConfig,
  1576. * twig_extra?: TwigExtraConfig,
  1577. * stimulus?: StimulusConfig,
  1578. * },
  1579. * "when@test"?: array{
  1580. * imports?: ImportsConfig,
  1581. * parameters?: ParametersConfig,
  1582. * services?: ServicesConfig,
  1583. * framework?: FrameworkConfig,
  1584. * doctrine?: DoctrineConfig,
  1585. * doctrine_migrations?: DoctrineMigrationsConfig,
  1586. * security?: SecurityConfig,
  1587. * twig?: TwigConfig,
  1588. * web_profiler?: WebProfilerConfig,
  1589. * monolog?: MonologConfig,
  1590. * webpack_encore?: WebpackEncoreConfig,
  1591. * twig_extra?: TwigExtraConfig,
  1592. * stimulus?: StimulusConfig,
  1593. * },
  1594. * ...<string, ExtensionType|array{ // extra keys must follow the when@%env% pattern or match an extension alias
  1595. * imports?: ImportsConfig,
  1596. * parameters?: ParametersConfig,
  1597. * services?: ServicesConfig,
  1598. * ...<string, ExtensionType>,
  1599. * }>
  1600. * }
  1601. */
  1602. final class App
  1603. {
  1604. /**
  1605. * @param ConfigType $config
  1606. *
  1607. * @psalm-return ConfigType
  1608. */
  1609. public static function config(array $config): array
  1610. {
  1611. return AppReference::config($config);
  1612. }
  1613. }
  1614. namespace Symfony\Component\Routing\Loader\Configurator;
  1615. /**
  1616. * This class provides array-shapes for configuring the routes of an application.
  1617. *
  1618. * Example:
  1619. *
  1620. * ```php
  1621. * // config/routes.php
  1622. * namespace Symfony\Component\Routing\Loader\Configurator;
  1623. *
  1624. * return Routes::config([
  1625. * 'controllers' => [
  1626. * 'resource' => 'routing.controllers',
  1627. * ],
  1628. * ]);
  1629. * ```
  1630. *
  1631. * @psalm-type RouteConfig = array{
  1632. * path: string|array<string,string>,
  1633. * controller?: string,
  1634. * methods?: string|list<string>,
  1635. * requirements?: array<string,string>,
  1636. * defaults?: array<string,mixed>,
  1637. * options?: array<string,mixed>,
  1638. * host?: string|array<string,string>,
  1639. * schemes?: string|list<string>,
  1640. * condition?: string,
  1641. * locale?: string,
  1642. * format?: string,
  1643. * utf8?: bool,
  1644. * stateless?: bool,
  1645. * }
  1646. * @psalm-type ImportConfig = array{
  1647. * resource: string,
  1648. * type?: string,
  1649. * exclude?: string|list<string>,
  1650. * prefix?: string|array<string,string>,
  1651. * name_prefix?: string,
  1652. * trailing_slash_on_root?: bool,
  1653. * controller?: string,
  1654. * methods?: string|list<string>,
  1655. * requirements?: array<string,string>,
  1656. * defaults?: array<string,mixed>,
  1657. * options?: array<string,mixed>,
  1658. * host?: string|array<string,string>,
  1659. * schemes?: string|list<string>,
  1660. * condition?: string,
  1661. * locale?: string,
  1662. * format?: string,
  1663. * utf8?: bool,
  1664. * stateless?: bool,
  1665. * }
  1666. * @psalm-type AliasConfig = array{
  1667. * alias: string,
  1668. * deprecated?: array{package:string, version:string, message?:string},
  1669. * }
  1670. * @psalm-type RoutesConfig = array{
  1671. * "when@dev"?: array<string, RouteConfig|ImportConfig|AliasConfig>,
  1672. * "when@prod"?: array<string, RouteConfig|ImportConfig|AliasConfig>,
  1673. * "when@test"?: array<string, RouteConfig|ImportConfig|AliasConfig>,
  1674. * ...<string, RouteConfig|ImportConfig|AliasConfig>
  1675. * }
  1676. */
  1677. final class Routes
  1678. {
  1679. /**
  1680. * @param RoutesConfig $config
  1681. *
  1682. * @psalm-return RoutesConfig
  1683. */
  1684. public static function config(array $config): array
  1685. {
  1686. return $config;
  1687. }
  1688. }