updated-packages
This commit is contained in:
@@ -4,16 +4,20 @@ namespace Doctrine\DBAL\Driver;
|
||||
|
||||
use Doctrine\DBAL\Connection;
|
||||
use Doctrine\DBAL\Driver;
|
||||
use Doctrine\DBAL\Driver\DriverException as TheDriverException;
|
||||
use Doctrine\DBAL\Exception\DriverException;
|
||||
use Doctrine\DBAL\Platforms\DB2Platform;
|
||||
use Doctrine\DBAL\Schema\DB2SchemaManager;
|
||||
|
||||
/**
|
||||
* Abstract base implementation of the {@link Doctrine\DBAL\Driver} interface for IBM DB2 based drivers.
|
||||
* Abstract base implementation of the {@link Driver} interface for IBM DB2 based drivers.
|
||||
*/
|
||||
abstract class AbstractDB2Driver implements Driver
|
||||
{
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*
|
||||
* @deprecated Use Connection::getDatabase() instead.
|
||||
*/
|
||||
public function getDatabase(Connection $conn)
|
||||
{
|
||||
@@ -37,4 +41,14 @@ abstract class AbstractDB2Driver implements Driver
|
||||
{
|
||||
return new DB2SchemaManager($conn);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $message
|
||||
*
|
||||
* @return DriverException
|
||||
*/
|
||||
public function convertException($message, TheDriverException $exception)
|
||||
{
|
||||
return new DriverException($message, $exception);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user