for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Yiisoft\Mailer\Event;
use Yiisoft\Mailer\MessageInterface;
/**
* AfterSend event is triggered right after sent the message.
*
* @see \Yiisoft\Mailer\Mailer::afterSend()
*/
final class AfterSend
{
private MessageInterface $message;
public function __construct(MessageInterface $message)
$this->message = $message;
}
public function getMessage(): MessageInterface
return $this->message;