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

public method

Constructor.

Parameters

  • array $config

    Available configuration options are:

    • 'port' integer
    • 'version' integer
    • 'database' string

Returns

void

Source

	public function __construct(array $config = []) {
		$defaults = ['port' => 5984, 'version' => 1, 'database' => null];
		parent::__construct($config + $defaults);
	}