Version 1
[yaffs-website] / vendor / php-instagram-api / php-instagram-api / Instagram / Net / ClientInterface.php
1 <?php
2
3 /**
4 * Instagram PHP
5 * @author Galen Grover <galenjr@gmail.com>
6 * @license http://opensource.org/licenses/mit-license.php The MIT License
7 */
8
9 namespace Instagram\Net;
10
11 /**
12  * Client Interface
13  *
14  * All clients must implement this interface
15  *
16  * The 4 http functions just need to return the raw data from the API
17  */
18 interface ClientInterface {
19
20     function get( $url, array $data = null );
21     function post( $url, array $data = null );
22     function put( $url, array $data = null );
23     function delete( $url, array $data = null );
24
25 }