DigiComp.FlowTranslationEnd.../Configuration/Objects.yaml
Ferdinand Kuhl ef297fa8e1
All checks were successful
ci/woodpecker/push/code-style Pipeline was successful
ci/woodpecker/push/functional-tests Pipeline was successful
review: consistent naming and methodology
2023-08-08 12:11:46 +02:00

32 lines
1.2 KiB
YAML

DigiComp.FlowTranslationEndpoint:TransformTranslationRequestMiddleware:
className: "DigiComp\\FlowTranslationEndpoint\\Http\\TransformTranslationRequestMiddleware"
arguments:
1:
setting: "DigiComp.FlowTranslationEndpoint.headerName"
2:
setting: "DigiComp.FlowTranslationEndpoint.replaceRoutedEndpoint.reactOnPath"
3:
setting: "DigiComp.FlowTranslationEndpoint.replaceRoutedEndpoint.translateGetParam"
DigiComp.FlowTranslationEndpoint:TranslationResponseCache:
className: "Neos\\Cache\\Frontend\\StringFrontend"
factoryObjectName: "Neos\\Flow\\Cache\\CacheManager"
factoryMethodName: "getCache"
arguments:
1:
value: "DigiComp_FlowTranslationEndpoint_Responses"
DigiComp.FlowTranslationEndpoint:TranslationRequestMiddleware:
className: "DigiComp\\FlowTranslationEndpoint\\Http\\TranslationRequestMiddleware"
autowiring: true
arguments:
1:
setting: "DigiComp.FlowTranslationEndpoint.headerName"
2:
object: "Neos\\Flow\\I18n\\Service"
3:
object: "Neos\\Flow\\I18n\\Xliff\\Service\\XliffFileProvider"
4:
object: "Neos\\Flow\\I18n\\Detector"
5:
object: "DigiComp.FlowTranslationEndpoint:TranslationResponseCache"