diff options
Diffstat (limited to 'app/Core/Mail')
-rw-r--r-- | app/Core/Mail/Client.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/app/Core/Mail/Client.php b/app/Core/Mail/Client.php index 44f4753a..ee3bdead 100644 --- a/app/Core/Mail/Client.php +++ b/app/Core/Mail/Client.php @@ -102,4 +102,16 @@ class Client extends Base return $this; } + + /** + * Return the list of registered transports + * + * @access public + * @return array + */ + public function getAvailableTransports() + { + $availableTransports = $this->transports->keys(); + return array_combine($availableTransports, $availableTransports); + } } |