Files
database/src/Concept/Database/Transaction.php

13 lines
361 B
PHP
Raw Normal View History

2022-09-08 18:11:46 -04:00
<?php
namespace ProVM\Concept\Database;
interface Transaction
{
public function begin(): Transaction;
public function query(string $query): ResultSet;
public function prepare(string $query): ResultSet;
public function execute(string $query, array $values): ResultSet;
public function commit(): void;
public function rollBack(): void;
}