<?php namespace Illuminate\Mail; use Illuminate\Support\Traits\ForwardsCalls; use Symfony\Component\Mailer\SentMessage as SymfonySentMessage; /** * @mixin \Symfony\Component\Mailer\SentMessage */ class SentMessage { use ForwardsCalls; /** * The Symfony SentMessage instance. * * @var \Symfony\Component\Mailer\SentMessage */ protected $sentMessage; /** * Create a new SentMessage instance. * * @param \Symfony\Component\Mailer\SentMessage $sentMessage * @return void */ public function __construct(SymfonySentMessage $sentMessage) { $this->sentMessage = $sentMessage; } /** * Get the underlying Symfony Email instance. * * @return \Symfony\Component\Mailer\SentMessage */ public function getSymfonySentMessage() { return $this->sentMessage; } /** * Dynamically pass missing methods to the Symfony instance. * * @param string $method * @param array $parameters * @return mixed */ public function __call($method, $parameters) { return $this->forwardCallTo($this->sentMessage, $method, $parameters); } }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
Events | Folder | 0755 |
|
|
Mailables | Folder | 0755 |
|
|
Transport | Folder | 0755 |
|
|
resources | Folder | 0755 |
|
|
Attachment.php | File | 4.92 KB | 0644 |
|
LICENSE.md | File | 1.05 KB | 0644 |
|
MailManager.php | File | 15.77 KB | 0644 |
|
MailServiceProvider.php | File | 1.72 KB | 0644 |
|
Mailable.php | File | 44.95 KB | 0644 |
|
Mailer.php | File | 16.93 KB | 0644 |
|
Markdown.php | File | 4.56 KB | 0644 |
|
Message.php | File | 9.53 KB | 0644 |
|
PendingMail.php | File | 3.46 KB | 0644 |
|
SendQueuedMailable.php | File | 3.23 KB | 0644 |
|
SentMessage.php | File | 1.17 KB | 0644 |
|
composer.json | File | 1.46 KB | 0644 |
|