Pop\Db\Adapter\Sqlite::__construct PHP Метод

__construct() публичный Метод

Instantiate the SQLite database connection object.
public __construct ( array $options ) : Sqlite
$options array
Результат Sqlite
    public function __construct(array $options)
    {
        // Select the DB to use, or display the SQL error.
        if (!isset($options['database'])) {
            throw new Exception('Error: The database file was not passed.');
        } else {
            if (!file_exists($options['database'])) {
                throw new Exception('Error: The database file does not exists.');
            }
        }
        $this->connection = new \SQLite3($options['database']);
    }