Documentation

LockInterface

This interface allows application components to implement locking for spitfire, generally we lock using files, but we could also use other mechanisms like remote servers, databases or semaphores.

Table of Contents

lock()  : LockInterface
synchronize()  : mixed
unlock()  : mixed

Methods

synchronize()

public synchronize(mixed $fn[, mixed $wait = true ]) : mixed
Parameters
$fn : mixed
$wait : mixed = true
Return values
mixed

Search results