2008-09-12 21:25:38 +04:00
|
|
|
<?php
|
|
|
|
|
2009-01-22 22:38:10 +03:00
|
|
|
namespace Doctrine\Tests\Mocks;
|
2009-01-04 19:15:32 +03:00
|
|
|
|
2009-01-22 22:38:10 +03:00
|
|
|
class DriverConnectionMock implements \Doctrine\DBAL\Driver\Connection
|
2008-09-12 21:25:38 +04:00
|
|
|
{
|
|
|
|
public function prepare($prepareString) {}
|
2012-07-07 17:05:42 +04:00
|
|
|
public function query() { return new StatementMock; }
|
2010-03-29 17:20:41 +04:00
|
|
|
public function quote($input, $type=\PDO::PARAM_STR) {}
|
2008-09-12 21:25:38 +04:00
|
|
|
public function exec($statement) {}
|
2009-11-08 14:07:49 +03:00
|
|
|
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() {}
|
2012-07-07 17:05:42 +04:00
|
|
|
}
|