mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-29 06:26:22 +00:00
365 B
365 B
id | title |
---|---|
bf86be19-256d-408e-b26e-dcd30d4f1e39 | Stack Decorators |
Description
Syntax to chain several decorators using a "stack".
Syntax
services:
App\Mailer\Mailer:
stack:
- App\Mailer\LoggingMailer: ~
- App\Mailer\RateLimitedMailer:
arguments: [20]
- App\Mailer\Mailer: ~