MessageSending.php
536 字节
<?php
namespace Illuminate\Mail\Events;
class MessageSending
{
/**
* The Swift message instance.
*
* @var \Swift_Message
*/
public $message;
/**
* The message data.
*
* @var array
*/
public $data;
/**
* Create a new event instance.
*
* @param \Swift_Message $message
* @param array $data
* @return void
*/
public function __construct($message, $data = [])
{
$this->data = $data;
$this->message = $message;
}
}