1
0
mirror of synced 2024-12-14 07:06:04 +03:00
doctrine2/tests/Doctrine/Tests/Mocks/DriverConnectionMock.php
2012-12-14 18:55:28 +00:00

81 lines
1.0 KiB
PHP

<?php
namespace Doctrine\Tests\Mocks;
/**
* Mock class for DriverConnection.
*/
class DriverConnectionMock implements \Doctrine\DBAL\Driver\Connection
{
/**
* {@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()
{
}
}