\Mine\Crontab\MutexServerMutex

Summary

Methods
Constants
attempt()
get()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

attempt()

attempt(\Mine\Crontab\MineCrontab  $crontab) : boolean

Attempt to obtain a server mutex for the given crontab.

Parameters

\Mine\Crontab\MineCrontab $crontab

Returns

boolean

get()

get(\Mine\Crontab\MineCrontab  $crontab) : string

Get the server mutex for the given crontab.

Parameters

\Mine\Crontab\MineCrontab $crontab

Returns

string