PHP 클래스 Doctrine\ODM\CouchDB\OptimisticLockException

부터: 2.0
저자: Benjamin Eberlei ([email protected])
상속: extends CouchDBException
파일 보기 프로젝트 열기: doctrine/couchdb-odm 1 사용 예제들

공개 메소드들

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

메소드 상세

__construct() 공개 메소드

public __construct ( $msg, $document )

getDocument() 공개 메소드

Gets the document that caused the exception.
public getDocument ( ) : object
리턴 object

lockFailed() 공개 정적인 메소드

public static lockFailed ( $document )

lockFailedVersionMissmatch() 공개 정적인 메소드

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

notVersioned() 공개 정적인 메소드

public static notVersioned ( $entityName )