lithium\data\Source::__construct()
Overrides
lithium\core\Object::__construct()
Constructor.
Parameters
-
array
$config
Available options are:
'autoConnect'
boolean: Iftrue
, a connection is made on initialization. Defaults totrue
.
Returns
voidSource
public function __construct(array $config = []) {
$defaults = ['autoConnect' => true];
parent::__construct($config + $defaults);
}