Skip to content

Commit

Permalink
Drop mailer instances stack
Browse files Browse the repository at this point in the history
  • Loading branch information
jadb committed Jun 5, 2015
1 parent 3013ca2 commit 67395d2
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/Mailer/MailerAwareTrait.php
Expand Up @@ -28,12 +28,6 @@
*/
trait MailerAwareTrait
{
/**
* Instantiated mailers' stack.
*
* @var array
*/
protected $_mailers = [];

/**
* Returns a mailer instance.
Expand All @@ -45,10 +39,6 @@ trait MailerAwareTrait
*/
public function getMailer($name, Email $email = null)
{
if (isset($this->_mailers[$name])) {
return $this->_mailers[$name];
}

if ($email === null) {
$email = new Email();
}
Expand Down

0 comments on commit 67395d2

Please sign in to comment.