interface Illuminate / Contracts / Cache / LockProvider
You are viewing an older version of the documentation. For the latest, please visit master documentation.

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