<?php
namespace Claromentis\Core\DAL\Interfaces;

$GLOBALS["__65da1b1ec2d6" . "653e8a0ab7848e" . "536215"] = (@$GLOBALS["__65da1b1ec2d665" . "3e8a0ab7848e5362" . "15"] ?: array()) + array();
use Claromentis\Core\DAL\Exceptions\TransactionException;




interface TransactionInterface
{
    
    
    
    
    
    
    
    
    
    public function BeginTransaction();
    
    
    
    
    
    
    
    
    
    public function EndTransaction();
    
    
    
    
    
    
    
    
    
    public function RollbackTransaction();
    
    
    
    
    
    
    public function InTransaction() : bool;
    
    
    
    
    
    
    
    
    
    
    
    
    public function DoTransaction(callable $callback);
}