Add tsantos serializer recipe

This commit is contained in:
tsantos
2018-07-23 14:18:58 -03:00
parent d229171889
commit d6012bad74
4 changed files with 18 additions and 0 deletions
@@ -0,0 +1,2 @@
tsantos_serializer:
generation_strategy: never
@@ -0,0 +1,2 @@
tsantos_serializer:
generation_strategy: always
@@ -0,0 +1,6 @@
tsantos_serializer:
generation_strategy: file_not_exists
# mapping:
# paths:
# - { namespace: "App\\Entity", path: "%kernel.project_dir%/src/Entity" }
# - { namespace: "App\\Document", path: "%kernel.project_dir%/config/serializer" }
@@ -0,0 +1,8 @@
{
"bundles": {
"TSantos\\SerializerBundle\\TSantosSerializerBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}