Skip to content

Commit

Permalink
Allow SparkPost transports options to be set at runtime (#16254)
Browse files Browse the repository at this point in the history
  • Loading branch information
djtarazona authored and taylorotwell committed Nov 4, 2016
1 parent ff058d9 commit 1c7f122
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions src/Illuminate/Mail/Transport/SparkPostTransport.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,4 +126,25 @@ public function setKey($key)
{
return $this->key = $key;
}

/**
* Get the transmission options being used by the transport.
*
* @return string
*/
public function getOptions()
{
return $this->options;
}

/**
* Set the transmission options being used by the transport.
*
* @param array $options
* @return array
*/
public function setOptions($options)
{
return $this->options = $options;
}
}

0 comments on commit 1c7f122

Please sign in to comment.