class SQLiteDatabase

Methods

static bool
isUri(string $database)

Determine if the database name is a SQLite URI.

static bool
isInMemory(string $database)

Determine if the database name resolves to an in-memory database.

static bool
isInMemoryConfiguration(array $configuration)

Determine if a connection configuration resolves to an in-memory SQLite database.

Details

at line 14
static bool isUri(string $database)

Determine if the database name is a SQLite URI.

Parameters

string $database

Return Value

bool

at line 22
static bool isInMemory(string $database)

Determine if the database name resolves to an in-memory database.

Parameters

string $database

Return Value

bool

at line 55
static bool isInMemoryConfiguration(array $configuration)

Determine if a connection configuration resolves to an in-memory SQLite database.

Discrete configurations pass through normalization unchanged. Malformed URLs intentionally fail with the database configuration parser's exception.

Parameters

array $configuration

Return Value

bool

Exceptions

InvalidArgumentException