Method | Description | |
---|---|---|
__construct ( array $parameters = [] ) | ||
__get ( $parameter ) | ||
__isset ( $parameter ) | ||
__sleep ( ) | ||
__toString ( ) | ||
create ( array | string $parameters ) : |
Creates a new instance by supplying the initial parameters either in the form of an URI string or a named array. | |
parse ( string $uri ) : array | Parses an URI string returning an array of connection parameters. | |
toArray ( ) |
Method | Description | |
---|---|---|
getDefaults ( ) : array | Returns some default parameters with their values. |
public __construct ( array $parameters = [] ) | ||
$parameters | array | Named array of connection parameters. |
protected getDefaults ( ) : array | ||
return | array |