TenantMigrationLockHandle
in package
FinalYes
Table of Contents
Properties
- $acquired : bool
- $connection : Connection
- $keyOne : int
- $keyTwo : int
Methods
- __construct() : mixed
- Constructor.
- release() : void
- Release the PostgreSQL advisory lock when it was acquired.
Properties
$acquired read-only
public
bool
$acquired
$connection read-only
private
Connection
$connection
$keyOne read-only
private
int
$keyOne
$keyTwo read-only
private
int
$keyTwo
Methods
__construct()
Constructor.
public
__construct(Connection $connection, int $keyOne, int $keyTwo, bool $acquired) : mixed
Parameters
- $connection : Connection
- $keyOne : int
- $keyTwo : int
- $acquired : bool
release()
Release the PostgreSQL advisory lock when it was acquired.
public
release() : void