13 lines
361 B
PHP
13 lines
361 B
PHP
![]() |
<?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;
|
||
|
}
|