update lock clucknut
All checks were successful
All checks were successful
This commit is contained in:
11
vendor/symfony/mailer/SentMessage.php
vendored
11
vendor/symfony/mailer/SentMessage.php
vendored
@@ -25,9 +25,6 @@ class SentMessage
|
||||
private string $messageId;
|
||||
private string $debug = '';
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
public function __construct(RawMessage $message, Envelope $envelope)
|
||||
{
|
||||
$message->ensureValidity();
|
||||
@@ -63,11 +60,19 @@ public function getEnvelope(): Envelope
|
||||
return $this->envelope;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the transport-level message ID.
|
||||
*/
|
||||
public function setMessageId(string $id): void
|
||||
{
|
||||
$this->messageId = $id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the transport-level message ID.
|
||||
*
|
||||
* Not to be confused with the Message-ID header, which is available via getOriginalMessage()
|
||||
*/
|
||||
public function getMessageId(): string
|
||||
{
|
||||
return $this->messageId;
|
||||
|
||||
Reference in New Issue
Block a user