. */ namespace Doctrine\DBAL\Driver; /** * Connection interface. * Driver connections must implement this interface. * * This resembles the PDO interface. * * @since 2.0 */ interface Connection { function prepare($prepareString); function query(); function quote($input); function exec($statement); function lastInsertId($name = null); function beginTransaction(); function commit(); function rollBack(); function errorCode(); function errorInfo(); }