18 lines
548 B
PHP
18 lines
548 B
PHP
<?php
|
|
|
|
namespace Doctrine\Tests\Mocks;
|
|
|
|
class DriverConnectionMock implements \Doctrine\DBAL\Driver\Connection
|
|
{
|
|
public function prepare($prepareString) {}
|
|
public function query() { return new StatementMock; }
|
|
public function quote($input, $type=\PDO::PARAM_STR) {}
|
|
public function exec($statement) {}
|
|
public function lastInsertId($name = null) {}
|
|
public function beginTransaction() {}
|
|
public function commit() {}
|
|
public function rollBack() {}
|
|
public function errorCode() {}
|
|
public function errorInfo() {}
|
|
}
|