class SQLiteConnector extends Connector implements ConnectorInterface (View source)

Traits

Methods

array
getOptions( array $config)

Get the PDO options based on the configuration.

from Connector
PDO
createConnection( string $dsn, array $config, array $options)

Create a new PDO connection.

from Connector
array
getDefaultOptions()

Get the default PDO connection options.

from Connector
void
setDefaultOptions( array $options)

Set the default PDO connection options.

from Connector
PDO
connect( array $config)

Establish a database connection.

Details

in Connector at line line 33
array getOptions( array $config)

Get the PDO options based on the configuration.

Parameters

array $config

Return Value

array

in Connector at line line 48
PDO createConnection( string $dsn, array $config, array $options)

Create a new PDO connection.

Parameters

string $dsn
array $config
array $options

Return Value

PDO

in Connector at line line 70
array getDefaultOptions()

Get the default PDO connection options.

Return Value

array

in Connector at line line 81
void setDefaultOptions( array $options)

Set the default PDO connection options.

Parameters

array $options

Return Value

void

at line line 17
PDO connect( array $config)

Establish a database connection.

Parameters

array $config

Return Value

PDO

Exceptions

InvalidArgumentException