summaryrefslogtreecommitdiffstats
path: root/lib/SparkPost.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/SparkPost.php')
-rw-r--r--lib/SparkPost.php20
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/SparkPost.php b/lib/SparkPost.php
new file mode 100644
index 0000000..2a4b589
--- /dev/null
+++ b/lib/SparkPost.php
@@ -0,0 +1,20 @@
+<?php
+namespace SparkPost;
+
+use MessageSystems\Transmission;
+use MessageSystems\Configuration;
+
+class SparkPost {
+
+ public $transmission;
+
+ public function __construct($globalOpts) {
+ Configuration::setConfig($globalOpts);
+ }
+
+ public function Transmission(Array $options = null) {
+ $this->transmission = new Transmission($options);
+ return $this->transmission;
+ }
+}
+?> \ No newline at end of file