public __construct ( string $dsn, string $user = null, string $password = null, array $options = [] ) | ||
$dsn | string | a PDO data source name example: 'pgsql:host=localhost;port=5432;dbname=izzum' |
$user | string | optional, defaults to null |
$password | string | optional, defaults to null |
$options | array | optional, defaults to empty array. |