Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function createConnection($dsn, array $config, array $options)
- {
- $username = array_get($config, 'username');
- $password = array_get($config, 'password');
- return new PDO($dsn, $username, $password, $options);
- }
Add Comment
Please, Sign In to add comment