From 1c7f122fc410928455e1cdf8e65a4da18da22df5 Mon Sep 17 00:00:00 2001 From: DJ Tarazona Date: Thu, 3 Nov 2016 20:55:34 -0400 Subject: [PATCH] Allow SparkPost transports options to be set at runtime (#16254) --- .../Mail/Transport/SparkPostTransport.php | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/src/Illuminate/Mail/Transport/SparkPostTransport.php b/src/Illuminate/Mail/Transport/SparkPostTransport.php index 83de3da6129b..8640feae0009 100644 --- a/src/Illuminate/Mail/Transport/SparkPostTransport.php +++ b/src/Illuminate/Mail/Transport/SparkPostTransport.php @@ -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; + } }