lithium\data\source\http\adapter\CouchDb::__call()

public method

Magic for passing methods to http service.

Parameters

  • string $method
  • array $params

Returns

mixed

Source

	public function __call($method, $params = []) {
		list($path, $data, $options) = ($params + ['/', [], []]);
		return json_decode($this->connection->{$method}($path, $data, $options));
	}