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

$GLOBALS["__65da1b1ec2d6" . "653e8a0ab7848e" . "536215"] = (@$GLOBALS["__65da1b1ec2" . "d6653e8a0ab7" . "848e536215"] ?: 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);
}