class PdoConnection extends PDO implements ConnectionInterface
PDO extension that implements ConnectionInterface and builds statements implementing StatementInterface.
Methods
__construct($dsn, $user = null, $password = null, array $options = null)
Creates a PDO instance representing a connection to a database. |
||
setName(string $name) | ||
string | getName() | |
boolean |
setAttribute(integer $attribute, mixed $value)
Sets a connection attribute. |
Details
at line 29
public
__construct($dsn, $user = null, $password = null, array $options = null)
Creates a PDO instance representing a connection to a database.
at line 40
public
setName(string $name)
at line 48
public string
getName()
at line 61
public boolean
setAttribute(integer $attribute, mixed $value)
Sets a connection attribute.
This is overridden here to allow names corresponding to PDO constant names.