PHP 8.3.31
Preview: FailedMessageEvent.php Size: 765 B
/home/getspomw/royalsquad.us/vendor/symfony/mailer/Event/FailedMessageEvent.php

<?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.
 */

namespace Symfony\Component\Mailer\Event;

use Symfony\Component\Mime\RawMessage;
use Symfony\Contracts\EventDispatcher\Event;

/**
 * @author Fabien Potencier <fabien@symfony.com>
 */
final class FailedMessageEvent extends Event
{
    public function __construct(
        private RawMessage $message,
        private \Throwable $error,
    ) {
    }

    public function getMessage(): RawMessage
    {
        return $this->message;
    }

    public function getError(): \Throwable
    {
        return $this->error;
    }
}

Directory Contents

Dirs: 0 × Files: 5

Name Size Perms Modified Actions
6.04 KB lrw-r--r-- 2026-04-27 10:21:49
Edit Download
765 B lrw-rw-rw- 2025-09-17 06:53:22
Edit Download
2.27 KB lrw-rw-rw- 2025-09-17 06:53:22
Edit Download
1.49 KB lrw-rw-rw- 2025-09-17 06:53:22
Edit Download
637 B lrw-rw-rw- 2025-09-17 06:53:22
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).