Skip to content

Commit

Permalink
add shouldqueue contract to mailable, update mailable class properties
Browse files Browse the repository at this point in the history
  • Loading branch information
adammparker committed Aug 7, 2019
1 parent 879eea6 commit f9ff1e1
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/Mail/Send.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@
use Illuminate\Queue\SerializesModels;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Facades\Storage;
use Illuminate\Contracts\Queue\ShouldQueue;
use KirschbaumDevelopment\NovaMail\Models\NovaMailTemplate;

class Send extends Mailable
class Send extends Mailable implements ShouldQueue
{
use Queueable, SerializesModels;

Expand All @@ -20,15 +21,20 @@ class Send extends Mailable
public $model;

/**
* @var int
* @var \KirschbaumDevelopment\NovaMail\Models\NovaMailTemplate
*/
public $template;
public $mailTemplate;

/**
* @var string
*/
public $content;

/**
* @var string
*/
public $timestamp;

/**
* Create a new message instance.
*
Expand Down

0 comments on commit f9ff1e1

Please sign in to comment.