PHP Class Doctrine\OXM\OptimisticLockException

Author: Dmitry Petrov ([email protected])
Inheritance: extends OXMException
Afficher le fichier Open project: doctrine/oxm Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( $msg, $entity )
getEntity ( ) : object Gets the entity that caused the exception.
lockFailed ( $entity )
lockFailedVersionMissmatch ( $entity, $expectedLockVersion, $actualLockVersion )
notVersioned ( $entityName )

Method Details

__construct() public méthode

public __construct ( $msg, $entity )

getEntity() public méthode

Gets the entity that caused the exception.
public getEntity ( ) : object
Résultat object

lockFailed() public static méthode

public static lockFailed ( $entity )

lockFailedVersionMissmatch() public static méthode

public static lockFailedVersionMissmatch ( $entity, $expectedLockVersion, $actualLockVersion )

notVersioned() public static méthode

public static notVersioned ( $entityName )