lithium\data\source\http\adapter\CouchDb::__call()
Overrides
lithium\data\source\Http::__call()
Magic for passing methods to http service.
Parameters
-
string
$method
-
array
$params
Returns
mixedSource
public function __call($method, $params = []) {
list($path, $data, $options) = ($params + ['/', [], []]);
return json_decode($this->connection->{$method}($path, $data, $options));
}