1
0
mirror of synced 2024-12-14 15:16:04 +03:00
doctrine2/tests/Doctrine/Tests/Mocks/DriverConnectionMock.php

81 lines
1.0 KiB
PHP
Raw Normal View History

2008-09-12 21:25:38 +04:00
<?php
namespace Doctrine\Tests\Mocks;
2009-01-04 19:15:32 +03:00
/**
* Mock class for DriverConnection.
*/
class DriverConnectionMock implements \Doctrine\DBAL\Driver\Connection
2008-09-12 21:25:38 +04:00
{
/**
* {@inheritdoc}
*/
public function prepare($prepareString)
{
}
/**
* {@inheritdoc}
*/
public function query()
{
return new StatementMock;
}
/**
* {@inheritdoc}
*/
public function quote($input, $type=\PDO::PARAM_STR)
{
}
/**
* {@inheritdoc}
*/
public function exec($statement)
{
}
/**
* {@inheritdoc}
*/
public function lastInsertId($name = null)
{
}
/**
* {@inheritdoc}
*/
public function beginTransaction()
{
}
/**
* {@inheritdoc}
*/
public function commit()
{
}
/**
* {@inheritdoc}
*/
public function rollBack()
{
}
/**
* {@inheritdoc}
*/
public function errorCode()
{
}
/**
* {@inheritdoc}
*/
public function errorInfo()
{
}
}