<?php

namespace domain\Producer\Producer;

use domain\_\AbstractNotifier;

class ProducerNotifier extends AbstractNotifier
{
    public function sendEmailAdminNewTestimony(Producer $producer)
    {
        $this->mailer->sendAdmin(
            'Nouveau témoignage de '.$producer->name,
            'newProducerTestimony',
            [
                'producer' => $producer,
            ]
        );
    }
}