Skip to content

Commit

Permalink
Merge pull request #104 from codesmithtech/master
Browse files Browse the repository at this point in the history
Added get method to allow client code to access the underlying Laravel mailer instance.
  • Loading branch information
emilsundberg authored Apr 16, 2019
2 parents 526f950 + e8b2430 commit 6f503e1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Snowfire/Beautymail/Beautymail.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,14 @@ public function getData()
{
return $this->settings;
}

/**
* @return \Illuminate\Contracts\Mail\Mailer
*/
public function getMailer()
{
return $this->mailer;
}

/**
* Send a new message using a view.
Expand Down

0 comments on commit 6f503e1

Please sign in to comment.