1 | <?php |
||
7 | class RestAdapter implements AdapterInterface |
||
8 | { |
||
9 | |||
10 | /** |
||
11 | * |
||
12 | * @var \Guzzle\Http\ClientInterface |
||
13 | */ |
||
14 | private $client; |
||
15 | |||
16 | private $auth = array(); |
||
17 | |||
18 | public function __construct(\Guzzle\Http\ClientInterface $client, array $auth = array()) |
||
23 | |||
24 | public function call($wrappedClass, $method, array $params = array()) |
||
37 | |||
38 | private function getAuthConfig(array $config = array()) |
||
51 | |||
52 | private function get(array $data, $key, $defaultValue = '') |
||
60 | } |
||
61 |