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

Changes