mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-12 07:36:34 +03:00
Added middleware examples, recipe targets 1.0
This commit is contained in:
@@ -1,17 +0,0 @@
|
||||
# Library documentation: http://tactician.thephpleague.com/
|
||||
# Bundle documentation: https://github.com/thephpleague/tactician-bundle/blob/v0.4.1/README.md
|
||||
tactician:
|
||||
default_bus: default
|
||||
commandbus:
|
||||
default:
|
||||
middleware:
|
||||
- tactician.middleware.command_handler
|
||||
# Example of separate command/query buses with transactional command bus
|
||||
# query:
|
||||
# middleware:
|
||||
# - tactician.middleware.command_handler
|
||||
# command:
|
||||
# middleware:
|
||||
# # Transactional command bus - requires http://tactician.thephpleague.com/plugins/doctrine/
|
||||
# - tactician.middleware.doctrine
|
||||
# - tactician.middleware.command_handler
|
||||
@@ -0,0 +1,15 @@
|
||||
# Library documentation: http://tactician.thephpleague.com/
|
||||
# Bundle documentation: https://github.com/thephpleague/tactician-bundle/blob/v1.0/README.md
|
||||
tactician:
|
||||
commandbus:
|
||||
default:
|
||||
middleware:
|
||||
# Security middleware - https://github.com/thephpleague/tactician-bundle#security-middleware-tacticianmiddlewaresecurity
|
||||
# - tactician.middleware.security
|
||||
# Validator middleware - https://github.com/thephpleague/tactician-bundle/tree/v1.0#validator-middleware-tacticianmiddlewarevalidator
|
||||
# - tactician.middleware.validator
|
||||
# Locking middleware - http://tactician.thephpleague.com/plugins/locking-middleware/
|
||||
# - tactician.middleware.locking
|
||||
# Doctrine transactional middleware, requires additional package - https://github.com/thephpleague/tactician-doctrine
|
||||
# - tactician.middleware.doctrine
|
||||
- tactician.middleware.command_handler
|
||||
Reference in New Issue
Block a user