lithium\data\source\http\adapter\CouchDb::__call PHP Method

__call() public method

Magic for passing methods to http service.
public __call ( string $method, array $params = [] ) : mixed
$method string
$params array
return mixed
    public function __call($method, $params = array())
    {
        list($path, $data, $options) = $params + array('/', array(), array());
        return json_decode($this->connection->{$method}($path, $data, $options));
    }