class DSNHandler implements IDSN (View source)

Properties

static protected IConnection $instance
static protected IOptions $optionsHandler

Methods

__construct(IConnection $instance, IOptions $optionsHandler)

No description

getInstance()

No description

void
set(string $name, mixed $value)

No description

mixed
get(string $name)

No description

Exceptions
parse()

Parses the DSN (Data Source Name) and returns it as a string.

Details

__construct(IConnection $instance, IOptions $optionsHandler)

No description

Parameters

IConnection $instance
IOptions $optionsHandler

IConnection getInstance()

No description

Return Value

IConnection

void set(string $name, mixed $value)

No description

Parameters

string $name
mixed $value

Return Value

void

mixed get(string $name)

No description

Parameters

string $name

Return Value

mixed

Exceptions parse()

Parses the DSN (Data Source Name) and returns it as a string.

Return Value

Exceptions

The parsed DSN string or an exception if parsing fails.