PHP 클래스 Scalr\Exception\LockedException

저자: N.V.
상속: extends ScalrException
파일 보기 프로젝트 열기: scalr/scalr

공개 메소드들

메소드 설명
__construct ( integer $lockedBy, mixed $object = null, string $comment = '', integer $code, Exception $previous = null ) LockedException
getLockedBy ( ) : integer Gets the identifier of the User who locked the object
getLockedObject ( ) : mixed Gets the object that is locked by the User

메소드 상세

__construct() 공개 메소드

LockedException
public __construct ( integer $lockedBy, mixed $object = null, string $comment = '', integer $code, Exception $previous = null )
$lockedBy integer Id of User that add a lock to the object
$object mixed optional Locked object
$comment string optional Lock comment
$code integer optional The Exception code
$previous Exception optional The previous exception used for the exception chaining

getLockedBy() 공개 메소드

Gets the identifier of the User who locked the object
public getLockedBy ( ) : integer
리턴 integer Returns the identifier of the User who locked the object

getLockedObject() 공개 메소드

Gets the object that is locked by the User
public getLockedObject ( ) : mixed
리턴 mixed Returns the object that is locked