Property | Type | Description | |
---|---|---|---|
$database | |||
$host | |||
$params | |||
$pass | |||
$port | |||
$scheme | |||
$user |
Method | Description | |
---|---|---|
__construct ( $dsn ) | Constructor | |
__toString ( ) : string | Serialize the DSN into a string | |
copy ( $alter = [] ) | Returns a clone with certain parameters changed | |
fromString ( $dsn ) : |
Static constructor |
public __toString ( ) : string | ||
return | string |
public static fromString ( $dsn ) : |
||
return |