MutexTrait
trait MutexTrait (View source)
Trait that contains stuff that can be useful for Mutexes.
Properties
protected string | $temporaryDirectory | The temporary directory. |
Methods
setTemporaryDirectory(mixed $temporaryDirectory)
Set the temporary directory.
string
getFilenameForMutexKey(mixed $mutexKey)
Get the full path of a temporary file that's unique for the concrete5 application and for the specified mutex key.
Details
protected
setTemporaryDirectory(mixed $temporaryDirectory)
Set the temporary directory.
protected string
getFilenameForMutexKey(mixed $mutexKey)
Get the full path of a temporary file that's unique for the concrete5 application and for the specified mutex key.