25 lines
548 B
PHP
25 lines
548 B
PHP
<?php
|
|
|
|
namespace Doctrine\DBAL\Driver;
|
|
|
|
/**
|
|
* Connection interface.
|
|
* Drivers must implement this interface.
|
|
*
|
|
* This resembles the PDO interface.
|
|
*
|
|
* @since 2.0
|
|
*/
|
|
interface Connection
|
|
{
|
|
public function prepare($prepareString);
|
|
public function query();
|
|
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();
|
|
} |