add a Domain Event Bundle

This commit is contained in:
Peter Gribanov
2019-08-15 15:20:33 +03:00
parent 1433cb96aa
commit fb4ea95a95
2 changed files with 23 additions and 0 deletions
@@ -0,0 +1,15 @@
gpslab_domain_event:
# Event bus service
# Support 'listener_located', 'queue' or a custom service
bus: 'listener_located'
# Event queue service
# Support 'pull_memory', 'subscribe_executing' or a custom service
queue: 'pull_memory'
# Event listener locator
# Support 'symfony', 'container', 'direct_binding' or custom service
locator: 'symfony'
# Publish domain events post a Doctrine flush event
publish_on_flush: true
@@ -0,0 +1,8 @@
{
"bundles": {
"GpsLab\\Bundle\\DomainEvent\\GpsLabDomainEventBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}