Version 1
[yaffs-website] / vendor / php-instagram-api / php-instagram-api / Instagram / Net / ClientInterface.php
diff --git a/vendor/php-instagram-api/php-instagram-api/Instagram/Net/ClientInterface.php b/vendor/php-instagram-api/php-instagram-api/Instagram/Net/ClientInterface.php
new file mode 100644 (file)
index 0000000..a0444b0
--- /dev/null
@@ -0,0 +1,25 @@
+<?php
+
+/**
+* Instagram PHP
+* @author Galen Grover <galenjr@gmail.com>
+* @license http://opensource.org/licenses/mit-license.php The MIT License
+*/
+
+namespace Instagram\Net;
+
+/**
+ * Client Interface
+ *
+ * All clients must implement this interface
+ *
+ * The 4 http functions just need to return the raw data from the API
+ */
+interface ClientInterface {
+
+    function get( $url, array $data = null );
+    function post( $url, array $data = null );
+    function put( $url, array $data = null );
+    function delete( $url, array $data = null );
+
+}
\ No newline at end of file