Interfaces

This commit is contained in:
Juan Pablo Vial
2022-09-08 18:11:46 -04:00
parent ce460740cd
commit 5322d81e1b
4 changed files with 63 additions and 0 deletions

View File

@ -0,0 +1,12 @@
<?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;
}