PHP 8.3.31
Preview: SendEmailMessage.php Size: 755 B
/home/getspomw/royalsquad.us/vendor/symfony/mailer/Messenger/SendEmailMessage.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\Messenger;

use Symfony\Component\Mailer\Envelope;
use Symfony\Component\Mime\RawMessage;

/**
 * @author Fabien Potencier <fabien@symfony.com>
 */
class SendEmailMessage
{
    public function __construct(
        private RawMessage $message,
        private ?Envelope $envelope = null,
    ) {
    }

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

    public function getEnvelope(): ?Envelope
    {
        return $this->envelope;
    }
}

Directory Contents

Dirs: 0 × Files: 2

Name Size Perms Modified Actions
734 B lrw-rw-rw- 2025-09-17 06:53:22
Edit Download
755 B lrw-rw-rw- 2025-09-17 06:53:22
Edit Download

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