<?php/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/namespaceSymfony\Component\Mailer\Event;
useSymfony\Component\Mailer\SentMessage;
useSymfony\Contracts\EventDispatcher\Event;
/**
* @author Fabien Potencier <fabien@symfony.com>
*/finalclassSentMessageEventextendsEvent{
publicfunction__construct(private SentMessage $message)
{
}
publicfunctiongetMessage(): SentMessage{
return$this->message;
}
}