1 | <?php namespace Algorit\Synchronizer\Request\Methods; |
||
3 | class Curl implements MethodInterface { |
||
4 | |||
5 | protected static $instance; |
||
6 | |||
7 | protected static function me() |
||
16 | |||
17 | public function head($url, $headers = array(), $options = array()) |
||
21 | |||
22 | public function get($url, $headers = array(), $options = array()) |
||
26 | |||
27 | public function post($url, $headers = array(), $data = array(), $options = array()) |
||
31 | |||
32 | public function put($url, $headers = array(), $data = array(), $options = array()) |
||
36 | |||
37 | public function delete($url, $headers = array(), $options = array()) |
||
41 | |||
42 | public function patch($url, $headers = array(), $options = array()) |
||
46 | |||
47 | } |
||
48 |