16 lines
301 B
PHP
16 lines
301 B
PHP
|
<?php
|
||
|
|
||
|
namespace Illuminate\Database\PDO;
|
||
|
|
||
|
use Doctrine\DBAL\Driver\AbstractSQLServerDriver;
|
||
|
|
||
|
class SqlServerDriver extends AbstractSQLServerDriver
|
||
|
{
|
||
|
public function connect(array $params)
|
||
|
{
|
||
|
return new SqlServerConnection(
|
||
|
new Connection($params['pdo'])
|
||
|
);
|
||
|
}
|
||
|
}
|