1
0
mirror of synced 2024-12-16 08:06:02 +03:00
doctrine2/tests/Doctrine/Tests/Mocks/DriverConnectionMock.php

18 lines
548 B
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
class DriverConnectionMock implements \Doctrine\DBAL\Driver\Connection
2008-09-12 21:25:38 +04:00
{
public function prepare($prepareString) {}
public function query() { return new StatementMock; }
public function quote($input, $type=\PDO::PARAM_STR) {}
2008-09-12 21:25:38 +04:00
public function exec($statement) {}
public function lastInsertId($name = null) {}
2008-09-12 21:25:38 +04:00
public function beginTransaction() {}
public function commit() {}
public function rollBack() {}
public function errorCode() {}
public function errorInfo() {}
}