lithium\data\Source::__construct()

public method

Constructor.

Parameters

  • array $config

    Available options are:

    • 'autoConnect' boolean: If true, a connection is made on initialization. Defaults to true.

Returns

void

Source

	public function __construct(array $config = []) {
		$defaults = ['autoConnect' => true];
		parent::__construct($config + $defaults);
	}