1
0
mirror of synced 2024-12-13 22:56:04 +03:00
doctrine2/lib/Doctrine/DBAL/Driver/Connection.php

27 lines
550 B
PHP
Raw Normal View History

2008-09-12 21:25:38 +04:00
<?php
namespace Doctrine\DBAL\Driver;
2008-09-12 21:25:38 +04:00
/**
* Connection interface.
* Drivers must implement this interface.
*
* This resembles the PDO interface.
*
* @since 2.0
*/
interface Connection
2008-09-12 21:25:38 +04:00
{
public function prepare($prepareString);
public function query();
2008-09-12 21:25:38 +04:00
public function quote($input);
public function exec($statement);
public function lastInsertId();
public function beginTransaction();
public function commit();
public function rollBack();
public function errorCode();
public function errorInfo();
}