forked from fa/breadcrumb-the-shire
Repo Interface für tests
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace MintyPHP\Repository\Support;
|
||||
|
||||
interface DatabaseSessionRepositoryInterface
|
||||
{
|
||||
public function acquireAdvisoryLock(string $lockName, int $timeoutSeconds = 0): bool;
|
||||
|
||||
public function releaseAdvisoryLock(string $lockName): void;
|
||||
|
||||
public function beginTransaction(): void;
|
||||
|
||||
public function commitTransaction(): void;
|
||||
|
||||
public function rollbackTransaction(): void;
|
||||
}
|
||||
Reference in New Issue
Block a user