lithium\data\source\database\adapter\Sqlite3::__construct PHP Method

__construct() public method

Constructor.
See also: lithium\data\source\Database::__construct()
See also: lithium\data\Source::__construct()
See also: lithium\data\Connections::add()
public __construct ( array $config = [] ) : void
$config array The available configuration options are the following. Further options are inherited from the parent classes. Typically, these parameters are set in `Connections::add()`, when adding the adapter to the list of active connections. - `'database'` _string_: Defaults to in-memory database `':memory:'`.
return void
    public function __construct(array $config = array())
    {
        $defaults = array('database' => ':memory:');
        parent::__construct($config + $defaults);
    }