Cache regions configuration
| Methods | ||
|---|---|---|
public
|
__construct(int $defaultLifetime = 3600, int $defaultLockLifetime = 60)
|
# |
public
|
getDefaultLifetime(): int
|
# |
public
|
setDefaultLifetime(int $defaultLifetime): void
|
# |
public
|
getDefaultLockLifetime(): int
|
# |
public
|
setDefaultLockLifetime(int $defaultLockLifetime): void
|
# |
public
|
getLifetime(string $regionName): int
|
# |
public
|
setLifetime(string $name, int $lifetime): void
|
# |
public
|
getLockLifetime(string $regionName): int
|
# |
public
|
setLockLifetime(string $name, int $lifetime): void
|
# |
| Properties | |||
|---|---|---|---|
private
|
array<string, int>
|
$lifetimes = []
|
# |
private
|
array<string, int>
|
$lockLifetimes = []
|
# |
private
|
int
|
$defaultLifetime
|
# |
private
|
int
|
$defaultLockLifetime
|
# |