PHP Class Pheasant\Locking\PessimisticLock

Show file Open project: lox/pheasant Class Usage Examples

Public Methods

Method Description
__construct ( $object, $clause = null ) Constructor
acquire ( ) : object Acquire the lock on the object

Method Details

__construct() public method

Constructor
public __construct ( $object, $clause = null )

acquire() public method

Acquire the lock on the object
public acquire ( ) : object
return object the reloaded object