PHP 클래스 Doctrine\OXM\OptimisticLockException

저자: Dmitry Petrov ([email protected])
상속: extends OXMException
파일 보기 프로젝트 열기: doctrine/oxm 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( $msg, $entity )
getEntity ( ) : object Gets the entity that caused the exception.
lockFailed ( $entity )
lockFailedVersionMissmatch ( $entity, $expectedLockVersion, $actualLockVersion )
notVersioned ( $entityName )

메소드 상세

__construct() 공개 메소드

public __construct ( $msg, $entity )

getEntity() 공개 메소드

Gets the entity that caused the exception.
public getEntity ( ) : object
리턴 object

lockFailed() 공개 정적인 메소드

public static lockFailed ( $entity )

lockFailedVersionMissmatch() 공개 정적인 메소드

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

notVersioned() 공개 정적인 메소드

public static notVersioned ( $entityName )