interface LockProvider (View source)

Methods

lock(string $name, int $seconds = 0)

Get a lock instance.

Details

Lock lock(string $name, int $seconds = 0)

Get a lock instance.

Parameters

string $name
int $seconds

Return Value

Lock