OptimisticLockException Class Reference
  Detailed Description
OptimisticLockException signals an exception when trying to create an optimistic lock.
Definition at line 19 of file OptimisticLockException.php.
 Inheritance diagram for OptimisticLockException:
 Inheritance diagram for OptimisticLockException:| Public Member Functions | |
| __construct ($currentState) | |
| getCurrentState () | |
Constructor & Destructor Documentation
◆ __construct()
| __construct | ( | $currentState | ) | 
Constructor.
- Parameters
- 
  $currentState PersistentObject instance representing the current object state or null, if the object is deleted 
Definition at line 28 of file OptimisticLockException.php.
Member Function Documentation
◆ getCurrentState()
| getCurrentState | ( | ) | 
Get the current object.
- Returns
- PersistentObject instance
Definition at line 45 of file OptimisticLockException.php.