mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-22 03:26:22 +00:00
502 B
502 B
date | id | title |
---|---|---|
2020-11-16 | 06bd2b23-93a4-4e19-abfa-05ce6716b248 | Service Decoration |
Description
How to decorate services.
Syntax
services:
App\Mailer\Mailer: ~
App\Mailer\RateLimitedMailer:
decorates: App\Mailer\Mailer
arguments: [20] # mails per second
App\Mailer\LoggingMailer:
decorates: App\Mailer\Mailer