summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole3/backend/config/packages/jms_serializer.yaml
diff options
context:
space:
mode:
authordevega <miguel.vega@sic.uhu.es>2020-03-23 10:10:50 +0100
committerdevega <miguel.vega@sic.uhu.es>2020-03-23 10:10:50 +0100
commitaafce73629d6b5f5d0a055e109d6112a4bccbb14 (patch)
tree5603a10758123d8c807e3de88c25d5c63eee218c /admin/WebConsole3/backend/config/packages/jms_serializer.yaml
parent2d61161b3b6ca0c22b860ea44f0dbf21af490e8e (diff)
Updated Symfony 3.x to 4.x
Diffstat (limited to 'admin/WebConsole3/backend/config/packages/jms_serializer.yaml')
-rw-r--r--admin/WebConsole3/backend/config/packages/jms_serializer.yaml19
1 files changed, 19 insertions, 0 deletions
diff --git a/admin/WebConsole3/backend/config/packages/jms_serializer.yaml b/admin/WebConsole3/backend/config/packages/jms_serializer.yaml
new file mode 100644
index 00000000..a7be0ca1
--- /dev/null
+++ b/admin/WebConsole3/backend/config/packages/jms_serializer.yaml
@@ -0,0 +1,19 @@
+jms_serializer:
+ visitors:
+ xml_serialization:
+ format_output: '%kernel.debug%'
+ handlers:
+ datetime:
+ default_format: "Y-m-d H:i:s" #c # ISO8601
+ default_timezone: "UTC" # defaults to whatever timezone set in php.ini or via date_default_timezone_set
+ metadata:
+ directories:
+ OpengnsysCoreBundle:
+ namespace_prefix: "Opengnsys\\CoreBundle"
+ path: "%kernel.root_dir%/../src/Opengnsys/CoreBundle/Resources/config/serializer/OpengnsysCoreBundle"
+ FOSUserBundle:
+ namespace_prefix: "FOS\\UserBundle"
+ path: "%kernel.root_dir%/../src/Opengnsys/CoreBundle/Resources/config/serializer/FOSUserBundle"
+ OpengnsysServerBundle:
+ namespace_prefix: "Opengnsys\\ServerBundle"
+ path: "%kernel.root_dir%/../src/Opengnsys/ServerBundle/Resources/config/serializer/OpengnsysServerBundle"