diff options
author | James Fellows <james.fellows@finanscapes.com> | 2016-03-31 23:19:53 +0100 |
---|---|---|
committer | James Fellows <james.fellows@finanscapes.com> | 2016-03-31 23:19:53 +0100 |
commit | a49a08ca3cb893e4589c7b925e04a938dfe18c84 (patch) | |
tree | a452d1e6f5e8269f2ee65fbe5dae1b57ba95ef4c /lib/SparkPost/APIResource.php | |
parent | dfd7e0f7d41e13d5bd0a84779c8756ae63523a0d (diff) | |
download | php-sparkpost-a49a08ca3cb893e4589c7b925e04a938dfe18c84.zip php-sparkpost-a49a08ca3cb893e4589c7b925e04a938dfe18c84.tar.gz php-sparkpost-a49a08ca3cb893e4589c7b925e04a938dfe18c84.tar.bz2 |
Initial commit adding MessageEvent support
Diffstat (limited to 'lib/SparkPost/APIResource.php')
-rw-r--r-- | lib/SparkPost/APIResource.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/SparkPost/APIResource.php b/lib/SparkPost/APIResource.php index 20e7b19..d0b8a5b 100644 --- a/lib/SparkPost/APIResource.php +++ b/lib/SparkPost/APIResource.php @@ -112,6 +112,11 @@ class APIResource { * @return array Result of the request */ public function get( $resourcePath=null, Array $query=[] ) { + foreach($query as $element) { + if(is_array($element)) { + + } + } return $this->callResource( 'get', $resourcePath, ['query'=>$query] ); } |