From bcf8cf2f94d1dc04142e6d451b70db89d739ec9e Mon Sep 17 00:00:00 2001 From: "Nek (Maxime Veber)" Date: Wed, 2 Oct 2019 00:38:51 +0200 Subject: [PATCH] Add biig/domain recipe It is useful because by default some features are not enabled and it's not always obvious they are not. --- biig/domain/1.0/config/packages/biig_domain.yaml | 9 +++++++++ biig/domain/1.0/manifest.json | 8 ++++++++ biig/domain/2.0/config/packages/biig_domain.yaml | 9 +++++++++ biig/domain/2.0/manifest.json | 8 ++++++++ 4 files changed, 34 insertions(+) create mode 100644 biig/domain/1.0/config/packages/biig_domain.yaml create mode 100644 biig/domain/1.0/manifest.json create mode 100644 biig/domain/2.0/config/packages/biig_domain.yaml create mode 100644 biig/domain/2.0/manifest.json diff --git a/biig/domain/1.0/config/packages/biig_domain.yaml b/biig/domain/1.0/config/packages/biig_domain.yaml new file mode 100644 index 00000000..e723c16b --- /dev/null +++ b/biig/domain/1.0/config/packages/biig_domain.yaml @@ -0,0 +1,9 @@ +biig_domain: + # Learn more about configuration in the bundle configuration reference + # https://github.com/biig-io/DomainComponent/blob/v1/docs/domain_event_dispatcher.md#configuration-reference + + # Post persist events are *not* activated by default, you need to enable the post persist listeners + persist_listeners: + # As doctrine supports many connections, you need to enable your connections one by one + doctrine: ['default'] + diff --git a/biig/domain/1.0/manifest.json b/biig/domain/1.0/manifest.json new file mode 100644 index 00000000..48c4d407 --- /dev/null +++ b/biig/domain/1.0/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "Biig\\Component\\Domain\\Integration\\Symfony\\DomainBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +} diff --git a/biig/domain/2.0/config/packages/biig_domain.yaml b/biig/domain/2.0/config/packages/biig_domain.yaml new file mode 100644 index 00000000..7d142d85 --- /dev/null +++ b/biig/domain/2.0/config/packages/biig_domain.yaml @@ -0,0 +1,9 @@ +biig_domain: + # Learn more about configuration in the bundle configuration reference + # https://github.com/biig-io/DomainComponent/blob/master/docs/domain_event_dispatcher.md#configuration-reference + + # Post persist events are *not* activated by default, you need to enable the post persist listeners + persist_listeners: + # As doctrine supports many connections, you need to enable your connections one by one + doctrine: ['default'] + diff --git a/biig/domain/2.0/manifest.json b/biig/domain/2.0/manifest.json new file mode 100644 index 00000000..48c4d407 --- /dev/null +++ b/biig/domain/2.0/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "Biig\\Component\\Domain\\Integration\\Symfony\\DomainBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +}