Laravel
Release notes
Upgrade Guide
Contribution Guide
interface
Illuminate
/
Contracts
/
Cache
/
LockProvider
LockProvider
#
Methods
public
#
lock
(
$name
,
$seconds
,
$owner
)
:
Lock
Get a lock instance.
Parameters
$name
string
$seconds
int
$owner
string
|
null
public
#
restoreLock
(
$name
,
$owner
)
:
Lock
Restore a lock instance using the owner identifier.
Parameters
$name
string
$owner
string
On this page
On this page
Methods
lock
restoreLock