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

$GLOBALS["__65da1b1" . "ec2d6653e" . "8a0ab7848" . "e536215"] = (@$GLOBALS["__65da1b1ec2d6653e8a0" . "ab7848e536215"] ?: 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);
}