Documentation

ParametersInterface

Interface defining a container for connection parameters.

The actual list of connection parameters depends on the features supported by each connection backend class (please refer to their specific documentation), but the most common parameters used through the library are:

Tags
author

Daniele Alessandri suppakilla@gmail.com

Table of Contents

__get()  : mixed|null
Returns the value of the specified parameter.
__isset()  : bool
Checks if the specified parameters is set.
toArray()  : array<string|int, mixed>
Returns an array representation of the connection parameters.

Methods

__get()

Returns the value of the specified parameter.

public __get(string $parameter) : mixed|null
Parameters
$parameter : string

Name of the parameter.

Return values
mixed|null

__isset()

Checks if the specified parameters is set.

public __isset(string $parameter) : bool
Parameters
$parameter : string

Name of the parameter.

Return values
bool

toArray()

Returns an array representation of the connection parameters.

public toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results