From 8d5aa5871e4446312c7ae1b91fe296b10eceb09e Mon Sep 17 00:00:00 2001 From: Tobias Nyholm Date: Sat, 19 Feb 2022 11:51:03 +0100 Subject: [PATCH] Adding recipe for happyr/entity-exists-validation-constraint (#1179) Adding recipe for happyr/entity-exists-validation-constraint --- .../1.0/config/packages/happyr_entity_exists_validator.yaml | 5 +++++ happyr/entity-exists-validation-constraint/1.0/manifest.json | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 happyr/entity-exists-validation-constraint/1.0/config/packages/happyr_entity_exists_validator.yaml create mode 100644 happyr/entity-exists-validation-constraint/1.0/manifest.json diff --git a/happyr/entity-exists-validation-constraint/1.0/config/packages/happyr_entity_exists_validator.yaml b/happyr/entity-exists-validation-constraint/1.0/config/packages/happyr_entity_exists_validator.yaml new file mode 100644 index 00000000..0ac36c7c --- /dev/null +++ b/happyr/entity-exists-validation-constraint/1.0/config/packages/happyr_entity_exists_validator.yaml @@ -0,0 +1,5 @@ +# See Readme at https://github.com/Happyr/entity-exists-validation-constraint +services: + Happyr\Validator\Constraint\EntityExistValidator: + arguments: [ '@doctrine.orm.entity_manager' ] + tags: [ 'validator.constraint_validator' ] diff --git a/happyr/entity-exists-validation-constraint/1.0/manifest.json b/happyr/entity-exists-validation-constraint/1.0/manifest.json new file mode 100644 index 00000000..e164c6e6 --- /dev/null +++ b/happyr/entity-exists-validation-constraint/1.0/manifest.json @@ -0,0 +1,5 @@ +{ + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +}